Tell us what’s happening:
I’m still stuck on what I’m doing wrong. I’ve changed the code multiple times, and I’ve tried different things but it’s still not right. I’m lost.
Your code so far
distance_mi = 8
is_raining = True
has_bike = True
has_car = False
has_ride_share_app = True
if not distance_mi:
print('False')
elif distance_mi <= 1 and not is_raining:
print('True')
else:
print('False')
elif distance_mi <= 6:
print('True')
if has_bike and not is_raining:
print('True')
else:
print('False')
else:
if has_car or has_ride_share_app:
print('True')
else:
print('False')
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.6.2 Safari/605.1.15
Challenge Information:
Build a Travel Weather Planner - Build a Travel Weather Planner