0

How to print fasten your seat belt message three times by using for loop statement in python show me the code by running

17th Jun 2023, 4:43 PM
Pallavi Munde
Pallavi Munde - avatar
11 ответов
+ 8
for i in range(3): learn lesson again and show attempts.
17th Jun 2023, 5:13 PM
A͢J
A͢J - avatar
+ 5
for I in range (3): print ("Fasten your seat belt") this working
27th Sep 2023, 7:14 PM
AMIR H R 👑💎🕹📱📡 💪
AMIR  H  R 👑💎🕹📱📡 💪 - avatar
+ 2
it works, just run it as I wrote
16th Nov 2023, 9:13 PM
AMIR H R 👑💎🕹📱📡 💪
AMIR  H  R 👑💎🕹📱📡 💪 - avatar
+ 2
# Mensaje messaje="fasten your seatbelt" # Bucle for para mostrar el mensaje 3 veces for i in range(3): print(messaje) NO FUNCIONA, ME LOS MUESTRA EN EL MISMO RENGLON EN VEZ DE FORMA DE LISTA... EN CUALQUIER OTRO IDE ANDA PERFECTO PERO ACA NO, NO SE COMO CONTINUAR... EL RESULTADO QUE ME MUESTRA: fasten your seatbeltfasten your seatbeltfasten your seatbelt EL RESULTADO QUE ESPERA: fasten your seatbelt fasten your seatbelt fasten your seatbelt A ALGUIEN LE PASA LO MISMO???
9th Feb 2024, 12:41 PM
David Ignacio Funes
David Ignacio Funes - avatar
+ 2
run the code I wrote above
9th Feb 2024, 7:41 PM
AMIR H R 👑💎🕹📱📡 💪
AMIR  H  R 👑💎🕹📱📡 💪 - avatar
+ 1
Thanks
16th Nov 2023, 9:21 PM
Avatar 2
0
Ok
19th Jun 2023, 2:10 AM
Pallavi Munde
Pallavi Munde - avatar
0
Solve the code what will come on the blank space Complet the iteration Seats = 100 .( )seats > 0: Print ("sell ticket") .( ) = seats - 1
23rd Jun 2023, 6:40 AM
Pallavi Munde
Pallavi Munde - avatar
0
No me funciona
16th Nov 2023, 9:02 PM
Avatar 2
0
# Mensaje messaje="fasten your seatbelt" # Bucle for para mostrar el mensaje 3 veces for i in range(3): print(messaje)
16th Nov 2023, 9:03 PM
Avatar 2
0
Siempre me da error
16th Nov 2023, 9:12 PM
Avatar 2