Build a Travel Weather Planner - Build a Travel Weather Planner

Tell us what’s happening:

It says I am failing test 1? I have a variable named distance_mi? I am sure I have other errors in my code but I feel like I should at least be passing step one.

Thank you!

Your code so far

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

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36

Challenge Information:

Build a Travel Weather Planner - Build a Travel Weather Planner

Welcome to the forum @lucy.petlife1 !

I’m seeing this syntax error in the console:

Traceback (most recent call last):
  File "main.py", line 6
    if distance_mi = False:
       ^^^^^^^^^^^^^^^^^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?

Happy coding!