Build a Travel Weather Planner - Build a Travel Weather Planner

Tell us what’s happening:
Describe your issue in detail here.

I am done with writing the code but the test keeps saying I have to create a value to variable to distance_mi

Your code so far

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


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


 
    

Your mobile information:

XBOOK_12 - Android 14 - Android SDK 34

Challenge: Build a Travel Weather Planner - Build a Travel Weather Planner

Link to the challenge:

please look in the terminal, there are syntax errors you need to fix

Thanks I’ll check it out