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

1st Sep 2021, 10:58 AM
Mikah Hannah
Mikah Hannah - avatar
2 ответов
+ 1
#Let's try an experiment x = input() # string input y = int(input()) # integer input # I wonder if this will work print(x * y)
1st Sep 2021, 11:09 AM
Rik Wittkopp
Rik Wittkopp - avatar
- 1
By learning the course
1st Sep 2021, 11:01 AM
Rellot's screwdriver
Rellot's screwdriver - avatar