Tell us what’s happening:
i have done the first task with creating the variables and it was all good until when i try using the if conditional statement it keeps saying 'distance ’ is not defined
Your code so far
distance_mi=5
is_raining=True
has_bike=False
has_car=True
has_ride_share_app=False
if not distance-mi:
print(False)
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.0.0 Safari/537.36
Challenge Information:
Build a Travel Weather Planner - Build a Travel Weather Planner