0
Can anybody help me with seatbelt exercise in phyton?
6 odpowiedzi
+ 6
Cary Krasivaya you just finished a module lesson on "for loop"
What exactly do you need help with?
Remember to indent your print() statement under the loop.
The idea is to print the message exactly 3 times.
+ 5
It works! Thx a lot!
+ 4
Hi, Cary Krasivaya !
To better assist you, could you please share what you’ve tried so far or specify the challenges you’re facing? It helps in providing more targeted guidance.
+ 3
Cary Krasivaya you have to display it correctly
message = "Fasten your seat belt"
In your reference above you have
message = "Fasten your seatbelt"
The space is missing between seat and belt
message = "Fasten your seat belt"
for i in range(3):
print(message)
+ 1
I already tried everything
for i in range (3):
print(message)
But it doesn't work
0
# message that will be shown
message = "Fasten your seatbelt"
# Bucle for to show the message 3 times
for
print