Build a Travel Weather Planner - Build a Travel Weather Planner

Tell us what’s happening:

Honeslty I don’t see where the problem is though.

distance_mi = int(500)
is_raining = True
has_bike = True
has_car = False
has_ride_share_app = True

if(not distance_mi):
print(“False”)

if(distance_mi <= 1) and (not is_raining):
print(“True”)
elif(distance_mi >1) and (distance_mi <=6) and (has_bike) and (not is_raining):
print(“Trure”)
elif(distance_mi > 6) and (has_car or has_ride_share_app):
print(“True”)
elif ((1 < distance_mi <= 6) and (has_bike) and (not is_raining)):

Your code so far

distance_mi = int(500)
is_raining = True
has_bike = True
has_car = False
has_ride_share_app = True

if(not distance_mi):
    print("False")

if(distance_mi <= 1) and (not is_raining):
    print("True")
elif(distance_mi >1) and (distance_mi <=6) and (has_bike) and (not is_raining):
    print("Trure")
elif(distance_mi > 6) and (has_car or has_ride_share_app):
    print("True")
elif ((1 < distance_mi and distance_mi<= 6) and (has_bike) and (not is_raining)):
    print(True)
else:
    print("False")  

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36

Challenge Information:

Build a Travel Weather Planner - Build a Travel Weather Planner

I set the variables to be as the failed test says

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

and in the terminal I see

Trure

That is not True

double check for spelling errors