Tell us what’s happening:
Hello, i looked at other posts on the forum about steps 17 and 18 but none explained them in detail.
I tested each of the steps and they all turn out like they wanted.
I also looked at the user story as well for help and followed it but maybe I formatted it wrong.
Unrelated: how does freecodecamp check for the lab being correct is it word for word or is it based on the terminal output. I was just wanting to know this to help with future labs.
Thank you for all the help.
Your code so far
distance_mi = 6
is_raining = False
has_bike = False
has_car = False
has_ride_share_app = False
if not distance_mi:
print('False')
elif distance_mi <= 1 and not is_raining:
print('True')
elif 6 >= distance_mi > 1 and not is_raining and has_bike:
print('True')
elif distance_mi > 6 and has_ride_share_app or 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/144.0.0.0 Safari/537.36
Challenge Information:
Build a Travel Weather Planner - Build a Travel Weather Planner