0

Write a program to take x and y as input and output the string x, repeated y times. Sample Input hi 3

13th Feb 2022, 3:32 AM
Anshpreets 6106
5 odpowiedzi
+ 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
13th Feb 2022, 3:43 AM
HungryTradie
HungryTradie - avatar
+ 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🙃
13th Feb 2022, 4:16 AM
NEZ
NEZ - avatar
0
Manav Roy Well let me show you in dm.
13th Feb 2022, 9:26 AM
NEZ
NEZ - avatar