Somebody wrote code to take a string input and output it, repeated 10 times. However, the code results in an error. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Somebody wrote code to take a string input and output it, repeated 10 times. However, the code results in an error.

Fix the code output to desired output

25th Feb 2022, 4:17 PM
Mahesh Kumar Bisai
1 Answer
+ 4
You can use * symbol for multiplication.
25th Feb 2022, 4:19 PM
Simba
Simba - avatar