Build a Travel Weather Planner - Build a Travel Weather Planner

Tell us what’s happening:

I am having issues expressing a falsy value for distance_mi. I have went and reviewed the course work for it and it is still saying that I am not entering it in correctly. Any help would be appreciated.

Your code so far

'''
distance_mi = 5
is_raining = False
has_bike = True
has_car = False
has_ride_share_app = True

if distance_mi == None:
    print(False)
'''

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) 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

try another value for “falsy”, None is not technically a False value but rather absence of a value which is of a NoneType

happy coding :slight_smile:

is None the only falsy value out there?

what happens if the number is an empty string? or False, or 0, or… ?