0

How to do this code

Write a program to take x and y as input and output the string x, repeated y times

21st Jan 2022, 6:17 AM
Seal with illegal things
Seal with illegal things - avatar
4 Answers
+ 2
In what programming language?
21st Jan 2022, 6:23 AM
Š ŠµŠ½Š°Ń‚Š° Š ŠµŠ¼ŠøŠ·Š¾Š²Š°
Š ŠµŠ½Š°Ń‚Š° Š ŠµŠ¼ŠøŠ·Š¾Š²Š° - avatar
+ 1
Phyton
21st Jan 2022, 6:23 AM
Seal with illegal things
Seal with illegal things - avatar
+ 1
x, y = input(), int(input()) for i in range(y): print(x)
21st Jan 2022, 6:25 AM
Š ŠµŠ½Š°Ń‚Š° Š ŠµŠ¼ŠøŠ·Š¾Š²Š°
Š ŠµŠ½Š°Ń‚Š° Š ŠµŠ¼ŠøŠ·Š¾Š²Š° - avatar
+ 1
Ok thank you
21st Jan 2022, 6:25 AM
Seal with illegal things
Seal with illegal things - avatar