Tell us what’s happening:
Unable to move on, after i did the coding on line 12. Everything after that has a syntax error. Not sure why it accepts everything before line 12. The only steps needed to complete are 20-22. Please looking for assistance.
Your code so far
distance_mi = 7
is_raining = False
has_bike = True
has_car = False
has_ride_share_app = True
if distance_mi == False:
print('False')
elif distance_mi <=1 and 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:
print('True')
elif has_ride_share_app == True:
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/146.0.0.0 Safari/537.36
Challenge Information:
Build a Travel Weather Planner - Build a Travel Weather Planner