0

Setting the repeat count of output

Hi guys, text=input() print(text) When i run this code i enter a input and it turns to me being output that is is what i have write to input but text=input() print("(print(text))" * 3) İn this code i write abc as being input but the output is this (print(text))(print(text))(print(text)) What should i do to taking my output like this abc abc abc abc

7th Jun 2021, 7:38 PM
Habib
Habib - avatar
1 Antwort
+ 2
text=input() print((text+'\n')*4)
7th Jun 2021, 8:32 PM
Solo
Solo - avatar