Tell us what’s happening:
I got almost every test except tests 18 and 19. However, when I try to manually set the variables so that they match the tests, the text that is printed is identical to the test result.
Your code so far
distance_mi = 2
is_raining = False
has_bike = False
has_car = False
has_ride_share_app = False
if not distance_mi:
print('False')
elif distance_mi <= 1 and not is_raining:
print('True')
elif distance_mi <= 6 and not is_raining and has_bike:
print('True')
elif has_car or has_ride_share_app:
print('True')
else:
print('False')
Your browser information:
User Agent is: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:149.0) Gecko/20100101 Firefox/149.0
Challenge Information:
Build a Travel Weather Planner - Build a Travel Weather Planner