Tell us what’s happening:
i dont understand how to do the falsy statement. eventhough ive read the truthy and falsy values.
Your code so far
distance_mi=5
is_raining= True
has_bike=False
has_car=True
has_ride_share_app=True
if distance_mi is 0:
print('False')
if distance_mi <=1:
if not is_raining:
print('True')
elif is_raining:
print('False')
if distance_mi >1 and distance_mi <=6:
if has_bike:
print('True')
else:
print('False')
if distance_mi>6:
if has_car or has_ride_share_app:
print('True')
else:
print('False')
Your browser information:
User Agent is: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
Challenge Information:
Build a Travel Weather Planner - Build a Travel Weather Planner