Tell us what’s happening:
I am almost finished but cannot work otu is wrong with questions 17, 18 and 19.
i have structured it in the same way as all others and yet is won’t seem to register. I am not sure where i am going wrong?!
Your code so far
distance_mi = 0.5
is_raining = True
has_bike = False
has_car = True
has_ride_share_app = False
if distance_mi:
pass
if distance_mi <= 1:
if not is_raining:
print ("True")
else:
print("False")
if 1 < distance_mi <= 6:
if not has_bike and is_raining:
print("False")
elif has_bike and is_raining:
print("False")
else:
print ("True")
if distance_mi and distance_mi >= 6:
if has_ride_share_app:
print("True")
elif has_car:
print("True")
else:
print("False")
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) 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