Build a Travel Weather Planner - Build a Travel Weather Planner

Tell us what’s happening:

completely stuck on steps 15-23, unsure of where/what I’m missing

Your code so far

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

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

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

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

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

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) 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

Welcome to the forum @siigghh

0 is also a falsy value in a Boolean context.

Happy coding

still confused when i change ““ to 0 it says same thing

Instead of using separate if statements for each distance, use one if for the first distance, elif for the next distance, and elif for the last distance so only one prints.