Fr33za
March 9, 2026, 10:59am
1
Tell us what’s happening:
Everything after no.15 is incomplete and i dont know what i could possibly be doing wrong
Your code so far
distance_mi = 4
is_raining = True
has_bike = False
has_car = False
has_ride_share_app = True
if distance_mi == False:
print('False')
if distance_mi > 1 and is_raining == False:
print('True')
else:
print('False')
if 1 < distance_mi <= 6:
print('False')
elif is_raining == True and has_bike == False:
print('False')
else:
print('False')
if 1 < distance_mi <= 6:
print('True')
elif has_bike == True and is_raining == False:
print('True')
else:
print('False')
if distance_mi > 6 and has_car == True:
print('True')
if distance_mi > 6 and has_car == True:
print('True')
if distance_mi > 6 and (has_car or has_ride_share_app == False):
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
ILM
March 9, 2026, 11:01am
2
these two are the same, do you want them to be the same?
anyway
the first failed test say
When distance_mi is a falsy value, the program should print False .
So I write distance_mi = 0 to check
and in the termina I see
False
False
False
False
that’s a bit more than False, don’t you think?
can you make so that only one thing is printed?
Fr33za
March 9, 2026, 11:12am
3
so the only issue is that the terminal shows too many falses?
i already fixed the two of the same problem
ILM
March 9, 2026, 11:15am
4
you are printing too many things, you need to print only one thing, yes
Fr33za
March 9, 2026, 11:23am
5
so there should only be a singular “False” printed on the terminal before i run the tests?
ILM
March 9, 2026, 11:26am
6
for every situation there should be only one thing (True or False) printed
ILM
March 9, 2026, 11:32am
8
hi @danmike
It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge. How to Help Someone with Their Code Using the Socratic Method
We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.
system
Closed
April 6, 2026, 11:34am
10
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.