0

[Solved] How do i solve the code below?

x=input() y=input() Task: Given the code above, output the input x repeated y time. My_Attempt x=input() y=input() print( int(x) * int(y))

23rd Aug 2020, 8:44 PM
Abraham Zimba
Abraham Zimba - avatar
17 ответов
+ 4
don't try this code in solo learn compiler try it for example in pydroid3 x=int(input()) y=int(input()) res=x*y print(res)
23rd Aug 2020, 9:35 PM
toufik salhi
toufik salhi - avatar
+ 9
print(input()*int(input()))
23rd Aug 2020, 8:46 PM
Namit Jain
Namit Jain - avatar
+ 6
x=input() y=int(input()) print(x*y)
22nd Jun 2021, 5:58 PM
Dreamhole
Dreamhole - avatar
+ 3
print(x*int(y))
23rd Aug 2020, 9:03 PM
Abraham Zimba
Abraham Zimba - avatar
+ 2
Abraham Zimba Are the test cases failing with this code? print(input() * int(input()))
24th Aug 2020, 3:40 AM
Namit Jain
Namit Jain - avatar
+ 1
Please check this... x = input() y = input() print( str(x)*int(y))
16th Apr 2022, 5:25 PM
all in one RB
0
Test cases failed still
23rd Aug 2020, 8:57 PM
Abraham Zimba
Abraham Zimba - avatar
0
print(input()*int(input()) 5/5 test cases failed why?
23rd Aug 2020, 8:59 PM
Abraham Zimba
Abraham Zimba - avatar
0
x=input() y=int(input()) print(x*y)
4th Jan 2021, 6:21 AM
Ajith Kumar
0
x = input() y = int(input()) print(x*int(y))
20th Oct 2021, 5:10 PM
Belete Yami Bati
0
x = input () y = int (input()) print ( x * y)
28th Oct 2021, 12:09 PM
Pramod M
Pramod M - avatar
0
x=input() y=int(input()) Print("x"*y)
26th Nov 2021, 2:53 AM
mansoor ali khan
0
x=str(input()); y=int(input()); for i in range (y): print (x);
12th Feb 2022, 1:10 PM
Rajesh Kumar Gour
0
Dreamhole you rock!
13th Apr 2022, 4:45 PM
Ashleigh Curl
0
X= int(input()) Y=int(input()) Z=X*Y print (Z)
1st Nov 2023, 3:15 PM
Shivu G P
0
My I'd not working
4th May 2024, 6:20 AM
KRUNAL Patel
KRUNAL Patel - avatar