Can anybody help me with seatbelt exercise in phyton?
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.
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.
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)
It works! Thx a lot!
I already tried everything for i in range (3): print(message) But it doesn't work
# message that will be shown message = "Fasten your seatbelt" # Bucle for to show the message 3 times for print