Build a Travel Weather Planner Yo

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

It gives me the between 1 and 6 miles hint im confuzzled

Your code so far

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

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

Your mobile information:

SM-A566B - Android 16 - Android SDK 36

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

Link to the challenge:

Welcome to the forum @beyazekoeko,

If the distance is greater than 6 miles:

  • You should print True if the person has a car or has a ride-share app.
  • Otherwise, you should print False.

Please check your condition against the instruction for that. Is the distance in your condition matching this instruction

Happy coding