Build a Travel Weather Planner - Build a Travel Weather Planner

Tell us what’s happening:

I cannot move past 16. error. what could be the issue?

Your code so far

distance_mi = 10
is_raining = True
has_bike = True
has_car = False
has_ride_share_app = False

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

Your browser information:

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

Challenge Information:

Build a Travel Weather Planner - Build a Travel Weather Planner

Welcome to the forum @pewIpew

When the distance is 1 mile or less and it is raining, the program should print False.

When the condition is 1 mile or less, you have a condition for not raining.

You also need to account for when it is raining.

Happy coding

Thank you for assistance. i got the solution.

Can you mark the post as solved and credit the user who helped you solve it?

done, apologies i didnt know i had to do all that