0
Write a program to take x and y as input and output the string x, repeated y times. Sample Input hi 3
5 Answers
+ 1
G'day Anshpreets 6106 have you found the search bar in SoloLearn Q&A (it is the magnifying glass icon at the top of the discuss screen).
Did you know you can edit your post? (I recommend you change the tag to include the language you are using).
You can't link to your code challenge attempts, but you can cut+paste into a SoloLearn "code bit" which you can link here using the plus icon.
Also:
https://www.sololearn.com/discuss/1316935/?ref=app
+ 1
Anshpreets 6106
1.Take input as a string
(say 'word')
2.Multiply it by the integer as how many times you want to repeat it.
(use '*')
And post you try heređ
0
Manav Roy
Well let me show you in dm.