u/Junior_Path_4439

Struggling with the Build a Travel Weather Planner Lab

I checked each code if they made sense and to me they did but I genuinely don't see the problem. I also tested each of them.

This is my code:

distance_mi = 4.3
is_raining = True
has_bike = True
has_car = False
has_ride_share_app = True


if distance_mi == False:
    print('False')


if distance_mi <= 1:
    if is_raining:
        print('False')
    else:
        print('True')
else:
    print('False')


if (distance_mi > 1 and distance_mi <= 6) and has_bike and is_raining:
    print('True')
elif (distance_mi > 1 and distance_mi <= 6) and has_bike and is_raining == True:
    print('True')
else:
    print('False')


if distance_mi > 6:
    if has_ride_share_app:
        print('True')
    elif has_car:
        print('True')
    else:
        print('False')

I'm getting all tests from 15 to 23 wrong but there was a time when I got 18 to 20 right but when I deleted some extra lines and tested it, it marked them wrong. Like I don't get it atp.

reddit.com
u/Junior_Path_4439 — 4 days ago
▲ 34 r/JBL

JBL Headphones - Pls help

So I got this for my birthday today and I love it but I don't want the lights on all the time so can anybody how to turn it off?

PS- I've already tried to hold the power down for some time but it just turns it off. And there wasn't a paper with instructions in the box.

Edit - I know it's a knockoff but it's actually pretty cute tho. Like it kinda gives a developer or engineer vibe which I like.

u/Junior_Path_4439 — 2 months ago