Build a Travel Weather Planner - Build a Travel Weather Planner

Tell us what’s happening:

Every test works except for test 15. I’m not quite sure what’s wrong.

Your code so far

distance_mi=5
is_raining=False
has_bike=True
has_car=False
has_ride_share_app=True
if not isinstance(distance_mi,int):
    print(False)

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

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36

Challenge Information:

Build a Travel Weather Planner - Build a Travel Weather Planner

try testing with a distance of 1 mile or less, like distance_mi=0.85

Thanks! It works now.