0
Write a program to take x and y as input and output the string x, repeated y times.
Solve
8 ответов
+ 1
It is asked to take one string x and an integer y and then multiply x by y.
Here int(input()) is to convert string into integer because input give string.
so the code will be -
x = input()
y = int(input())
print(x*y)
+ 4
Rakshita Yachalgar ,
please do a try by yourself first and post it here, since we are not sure what your issue is.
thanks for your undertstanding!
+ 1
x=input()
y=int(input())
print(x*y)
I think this is what you are talking about.
0
x = input()
y = input()
print(x * 2)
0
It's coming right for test case one
And wrong for test case two
0
Both have different numbers to output
0
Thankyou!
0
x = input()
y = int(input())
print(x*y)
ulululululu