Tell us what’s happening:
I’m not getting number 17, 18, 19, and 23. maybe i have to make more if statements?
Your code so far
distance_mi=7
is_raining=True
has_bike= True
has_car= False
has_ride_share_app= True
final= ''
if distance_mi <=1 and not is_raining:
final = 'True'
elif 1 < distance_mi <= 6 and has_bike and is_raining:
final = 'True'
elif distance_mi > 6 and (has_car or has_ride_share_app):
final = 'True'
else:
final = 'False'
if distance_mi:
final='True'
else:
final='False'
print(final)
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:150.0) Gecko/20100101 Firefox/150.0
Challenge Information:
Build a Travel Weather Planner - Build a Travel Weather Planner