+ 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 RĂ©ponses
+ 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!