+ 2
āWrite a program to take x and y as input and output the string x, repeated y timesā Help
Iām currently learning python and I cannot get passed - Working with inputs Im on the practise code and itās asking me to āWrite a program to take x and y as input and output the string x, repeated y timesā The program Iāve written is: x = input(āhiā) y = int(input(3)) print(x*y) This program is in the solution tab, but Itās not working. Where am i going wrong? Help with this will be greatly appreciated! Thanks
4 Answers
+ 10
Remove 'hi' and 3 from the input functions
+ 9
Ohhhh idiot is a big word...
Let's say your š§ took a power nap
+ 5
I would say it need to be
x = input()
+ 3
Im an idiotšš
Thank you very much guys! Much love!