Can’t figure out what #15 actually requires please help, I tried setting the distance_mi to ‘0’ but it did nothing. Stuck at the moment and just want to get past this stage, it’s the last requirement needed. Any help appreciated
Your code so far
distance_mi = 2
is_raining = True
has_bike = True
has_car = False
has_ride_share_app = False
if distance_mi <= 1 and is_raining == False:
print('True')
elif distance_mi > 1 and distance_mi <=6 and is_raining == False and has_bike == True:
print('True')
elif distance_mi > 1 and distance_mi <=6 and is_raining == True and has_bike == False:
print('False')
elif distance_mi > 1 and distance_mi <=6 and is_raining == False and has_bike == False:
print('False')
elif distance_mi > 6 and has_car == True or has_ride_share_app == True:
print('True')
else:
print('False')
if distance_mi == 0:
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/145.0.0.0 Safari/537.36
Challenge Information:
Build a Travel Weather Planner - Build a Travel Weather Planner