Tell us what’s happening:
Hello I have been staring at this lab for far too long and I do not know what I am doing wrong. I was able to go all the False print test to come through but for some reason I am unable to get the True print tests to come through to help me pass this lab. Any help is appreciated. Thank you in advance.
Your code so far
distance_mi = 0.5
is_raining = False
has_bike = True
has_car = True
has_ride_share_app = True
if distance_mi <= 1 and not is_raining:
print(False)
elif distance_mi > 1 and distance_mi <= 6 and is_raining and not has_bike or not is_raining and not has_bike:
print(False)
elif distance_mi > 6 and not has_car or not has_ride_share_app:
print(False)
else:
print(True)
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.4 Safari/605.1.15
Challenge Information:
Build a Travel Weather Planner - Build a Travel Weather Planner