Build a Travel Weather Planner - Build a Travel Weather Planner

Tell us what’s happening:

i feel like I’m technically right but i didn’t do it as expected by the verification program, am i wrong ?

Your code so far

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

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


Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:148.0) Gecko/20100101 Firefox/148.0

Challenge Information:

Build a Travel Weather Planner - Build a Travel Weather Planner

is it correct that any distance is fine with these?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.