Build a Travel Weather Planner - Build a Travel Weather Planner

Tell us what’s happening:

i dont understand how to do the falsy statement. eventhough ive read the truthy and falsy values.

Your code so far

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

if distance_mi is 0:
    print('False')

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


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

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

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36

Challenge Information:

Build a Travel Weather Planner - Build a Travel Weather Planner

Are you still stuck on this or did you end up figuring it out?

Looking at it and running your code in the environment myself it looks like your condition does not actually have a falsy value you have just printed False in the terminal to check if the distance_mi has a falsy value you can put a temporary line of code in that reads

print(bool(distance_mi))

and that should tell you whether the boolean of distance_mi is truthy or falsy