Please Correct this code..I am working on a code by which I can write any input 100 times. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Please Correct this code..I am working on a code by which I can write any input 100 times.

print("I can write your name 100 times.") x=input("Write your name:") print{(print"x")*100}

31st Jan 2019, 2:36 PM
A GAmer
A GAmer - avatar
1 Answer
+ 9
3rd line is wrong.. it should be.. print(x * 100) But a better way would be to use a loop Also kindly delete a similar question you have asked as it is a duplicate of this one.
31st Jan 2019, 2:45 PM
Frost
Frost - avatar