Build a Travel Weather Planner - Build a Travel Weather Planner

Tell us what’s happening:

GUYS I STILL HAVE A PROBLEM ON STEP 15
This is my code

Your code so far

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


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

Your browser information:

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

Challenge Information:

Build a Travel Weather Planner - Build a Travel Weather Planner

Welcome to the forum @Evim!

Should your code print True if distance_mi is 0?

Happy coding!

Tell us what’s happening:

step 15 …what mistake have I made… i don’t get it

Your code so far

distance_mi=34
is_raining=True
has_bike=False
has_car=True
has_ride_share_app=True
if distance_mi==0:
    print(False)

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

Challenge Information:

Build a Travel Weather Planner - Build a Travel Weather Planner

Please do not create duplicate topics for the same challenge/project question(s). If you need more help then respond back to the original topic you created with your follow up questions and/or your updated code and question.

The duplicate topic has been unlisted.

Thank you.