Build a Travel Weather Planner - Build a Travel Weather Planner

Tell us what’s happening:

La verdad no se en que este mal, ya que a mi parecer si me salen los resultados pero me lanza que esta mal. Por ejemplo, me dice que Cuando la distancia sea 1 o menos y no este lloviendo, deberia de imprimir True, Pero yo ya tengo bien esa parte

Your code so far

distance_mi = 7
is_raining = True
has_bike = False
has_car = False
has_ride_share_app = True
if distance_mi: 
    if distance_mi <= 1:
        print(True)

        if not is_raining:
            print(True)
        else:
            print(False)

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

    if distance_mi > 6 and has_car == True or has_ride_share_app == True:
        print(True)
    else:
        print(False)

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/156.0.0.0 Safari/537.36

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

Hi @AngelCallejas,

Your code should only print one thing in the console — either True or False. Currently, your code is printing three things:

False
False
True

Happy coding