Build a Travel Weather Planner - Build a Travel Weather Planner

Tell us what’s happening:

This is the code and I’ve already tested it for step 18 and 19. It works but the website won’t let me submit it.

Your code so far

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

if distance_mi == False:
    print("False")
elif distance_mi <= 1 and not is_raining:
    print("True")
elif 1 < distance_mi <= 6 and has_bike and not is_raining:
    print("True")
elif distance_mi > 6 and has_car or has_ride_share_app:
    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/151.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

when you write this, it is eequivalent to
elif ( distance_mi > 6 and has_car ) or ( has_ride_share_app ):

you are almost there, you just need to make sure this branch is entered only when you actually want it to be entered