Build a Travel Weather Planner - Build a Travel Weather Planner

Tell us what’s happening:

I think that I don’t exactly understand problem number 15.
From what I understand, falsey value is when the variable equals to 0, null, false. If it’s incorrect than I’ll study it again.

Your code so far

#Build a Travel Weather Planner

distance_mi = 7
is_raining = True #It's  raining
has_bike = True
has_car = True
has_ride_share_app = True

if distance_mi == 0:
    print(False)

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

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

if distance_mi >6:
    if has_car:
        print(True)
    elif has_ride_share_app == True:
        print(True)
    elif has_car == False and has_ride_share_app == False:
        print(False)
    




    
            
        










    

    

        




Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36

Challenge Information:

Build a Travel Weather Planner - Build a Travel Weather Planner

GitHub Link: freeCodeCamp/curriculum/challenges/english/blocks/lab-travel-weather-planner/694acade1d4afdbce71e5840.md at main · freeCodeCamp/freeCodeCamp · GitHub

you are correct

the issue is that you have two False in that case

Thanks for the guide. I’d say this is a good challenge!