Build a Travel Weather Planner - Build a Travel Weather Planner

Tell us what’s happening:

fix this damm system im stuck on step 15 it does work i think but noope not good enough for the grading system

Your code so far

distance_mi = 6

is_raining = False
has_bike = True
has_car = False 
has_ride_share_app = True

if has_bike or has_car or has_ride_share_app:
    print("its worth going", distance_mi, "miles")
elif distance_mi < 15 and has_bike and not has_car:

 print("not worth it going by bike ")
 

else: 
        print("not worth it")

if not isinstance(distance_mi, int):
    print(True)





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

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

if 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/146.0.0.0 Safari/537.36 OPR/130.0.0.0 (Edition std-1)

Challenge Information:

Build a Travel Weather Planner - Build a Travel Weather Planner

Github Link: freeCodeCamp/curriculum/challenges/english/blocks/lab-travel-weather-planner/694acade1d4afdbce71e5840.md at main · freeCodeCamp/freeCodeCamp · GitHub

Welcome to the forum @SIMBA548A!

Please organize your code so it prints only one thing: either True or False.

Happy coding!

ahd that should fix it?

i did that the step 15 is still persisting

Please post your updated code.


When you enter a code block into a forum post, please precede it with three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add the backticks.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').