Build a Travel Weather Planner - Build a Travel Weather Planner

Tell us what’s happening:

This is my code i was working on it it from 15 it starts to fail im not sure why as i have not made a any mistakes i believe

Your code so far

# user_input = input("Enter an a number for distance")
distance_mi = 20
is_raining = True
has_bike = True
has_car = True
has_ride_share_app = True

# if user_input.isdigit():
    

if distance_mi >= 10 and is_raining:
    print("easy walking distance")

elif distance_mi >= 20 and is_raining:
    print("You might need to walk a bit fast")

elif (distance_mi >= 30 or distance_mi <= 60) and is_raining:
    print("You need an umbrella")

else:
    print("stay inside")

    if distance_mi == False:
        print("False")
    # if not distance_mi:
    #     print(False)

# if not distance_mi:
#     print("False")
if distance_mi <= 1  and is_raining == False :
    print("True")

else:
    print("False")

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

Your browser information:

User Agent is: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:148.0) Gecko/20100101 Firefox/148.0

Challenge Information:

Build a Travel Weather Planner - Build a Travel Weather Planner

While this tickled my sense of humor, were any of these conditions asked in the instructions?

no just experimenting

i have a question what is a effective way to use elif and else statements after each other

I fixed it and it passed thank you for viewing