Tell us what’s happening:
I’m pulling errors on 15, 16, 19, and 22. I’ve made changes that have pulled other errors and fixed them, but haven’t been able to get rid of these 4 errors. I’m pretty stuck as to why these are not working. Would appreciate any help, thanks.
Your code so far
distance_mi = 1
is_raining = True
has_bike = True
has_car = True
has_ride_share_app = True
if distance_mi <= 1 and is_raining != True:
print('True')
elif is_raining == True:
print('False')
if distance_mi > 1 and distance_mi <= 6 and is_raining != True and has_bike != True:
print('False')
elif has_bike == True and is_raining != True:
print('True')
if distance_mi > 6 and has_ride_share_app == True:
print(True)
elif has_ride_share_app != True and has_car != True:
print('False')
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) 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