0
In Python how do I take the input x and y and output x,ytimes given that x is a string and y an integer
2 odpowiedzi
+ 1
#Let's try an experiment
x = input() # string input
y = int(input()) # integer input
# I wonder if this will work
print(x * y)
- 1
By learning the course