0

Need help

Somebody wrote code to take a string input and output it, repeated 10 times. However, the code results in an error

16th Nov 2021, 2:01 AM
Jeffrey Lee
4 Réponses
+ 2
Where is your solution?
16th Nov 2021, 2:03 AM
A͢J
A͢J - avatar
+ 1
string_to_print(input()) print(string_to_primt*10) I'm sure it goes something like that.
16th Nov 2021, 3:04 AM
William Owens
William Owens - avatar
+ 1
Asking for a friend? Or are you that "somebody"? ;P
16th Nov 2021, 3:25 AM
Brian
Brian - avatar
+ 1
I you didnt understand how this work, read lection again userInput = input() print(userInput * 10)
16th Nov 2021, 10:27 AM
PanicS
PanicS - avatar