Tell us what’s happening:
I am new to Python and this prompt has me stuck. Any advice is appreciated.
Your code so far
distance_mi = 3
is_raining = True
has_bike = True
has_car = True
has_ride_share_app = True
if distance_mi <= 1 and is_raining == False:
print('True')
if distance_mi > 1 and distance_mi <= 6 and has_bike == True and is_raining == False:
print('True)')
if distance_mi > 6 and has_car == True or has_ride_share_app == True:
print('True')
elif distance_mi == False:
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/18.6 Safari/605.1.15
Challenge Information:
Build a Travel Weather Planner - Build a Travel Weather Planner