- 4

Awesome and 3 also use input to take input from user And out put 3 times awesome..

23rd Jun 2021, 11:05 AM
Horan Mirzad
Horan Mirzad - avatar
6 Respostas
+ 3
Please show us your attempt.
23rd Jun 2021, 11:58 AM
Isaac Fernandes
Isaac Fernandes - avatar
+ 5
How about you try even a little bit?
23rd Jun 2021, 11:08 AM
Slick
Slick - avatar
+ 3
Okay if you mean get the input word by the user, and replicate whatever that word is, thrice, it would be: user_input = input() print(user_input*3)
24th Jun 2021, 3:42 AM
Isaac Fernandes
Isaac Fernandes - avatar
0
My attempts X = int(input ()) Y = int( input()) Z = x+y Print(z) Second: X= "awesome" Y = 3 Z = x+(0* input()) Xy = y +(0*input ()) Print(z*xy) The problem with this its show the user and enter anything they want how to get the same answer # isaac
23rd Jun 2021, 6:17 PM
Horan Mirzad
Horan Mirzad - avatar
0
assuming you must get by input the number of times you should ouput "awesome" without any separator: n = int(input()) print("awesome"*n)
23rd Jun 2021, 11:47 PM
visph
visph - avatar