Tell us what’s happening:
Describe your issue in detail here.
I have tried everything concerning this particular place it’s rejecting my code.
Your code so far
distance_mi = 0
is_raining = False
has_bike = True
has_car = True
has_ride_share_app = True
if distance_mi == 0:
print(False)
elif distance_mi <= 1 and is_raining:
print(False)
elif distance_mi <= 1 or is_raining:
print(True)
elif 1 < distance_mi <= 6 and not is_raining and not has_bike:
print(False)
elif 1 < distance_mi <= 6 and not is_raining and not has_bike:
print(True)
elif distance_mi > 6 and has_ride_share_app:
print(True)
elif distance_mi > 6 and has_car:
print(True)
elif distance_mi > 6 and not has_car and not has_ride_share_app:
print(False)
elif 1 < distance_mi <= 6 and has_bike or is_raining:
print(True)
elif 1 < distance_mi <= 6 and not is_raining and not has_bike:
print(False)
Your mobile information:
OPPO A83t - Android 7.1.1 - Android SDK 25
Challenge: Build a Travel Weather Planner - Build a Travel Weather Planner
Link to the challenge: