Tell us what’s happening:
Please help me, I don’t really understand what I should do right now. I’m stuck on questions 20,21 and 22. I’ve reviewed and tried them repeatedly for hours. Have I made a lot of mistakes, and does this mean I’m not suited to learn coding because I can’t solve them? Please help me.
Your code so far
distance_mi = 5
is_raining = True
has_bike = True
has_car = True
has_ride_share_app = True
if not distance_mi:
print(False)
elif distance_mi <= 1 and is_raining == False:
print(True)
else:
print(False)
if distance_mi >= 1 and distance_mi <= 6 and is_raining == True and has_bike == True:
print(False)
if distance_mi >= 1 and distance_mi <= 6 and has_bike == True and is_raining == True:
print(True)
Your browser information:
User Agent is: Mozilla/5.0 (Linux; Android 10; K) 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