Build a Travel Weather Planner - Build a Travel Weather Planner

Tell us what’s happening:

Please help me to resolve number 15 and above:

distance_mi = 0
is_raining = True
has_bike = True
has_car = True
has_ride_share_app = True

if is_raining == True:
if has_bike and has_car == True:
print(“Commute”)
else:
print(“Not Commute”)
else:
print(“No raining”)

if not distance_mi:
print(“False”)
elif distance_mi <= 1 and not is_raining:
print(“True”)
elif 1 <= distance_mi <= 6 and has_bike == True and not is_raining:
print(“True”)
elif distance_mi

Your code so far

distance_mi = 0
is_raining = True
has_bike = True
has_car = True
has_ride_share_app = True



if is_raining == True:
    if has_bike and has_car == True:
        print("Commute")
    else:
        print("Not Commute")
else:
    print("No raining")

if not distance_mi:
    print("False")
elif distance_mi <= 1 and not is_raining:
    print("True")
elif 1 <= distance_mi <= 6 and has_bike == True and not is_raining:
    print("True")
elif distance_mi >= 6 and (has_car or has_ride_share_app):
    print("True")
else:
    print("False") 

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/155.0.0.0 Safari/537.36

Challenge Information:

Build a Travel Weather Planner - Build a Travel Weather Planner

GitHub Link: https://github.com/freeCodeCamp/freeCodeCamp/blob/main/curriculum/challenges/english/blocks/lab-travel-weather-planner/694acade1d4afdbce71e5840.md

are you sure these messages are asked for?

Welcome back @random.user,

What user story is this code implementing? Were you asked to print anything other than True or False?

In your last two elif statements, should 1) distance_mi equal 1? , and 2) should distance _mi equal 6?

Happy coding