+ 2
How we can print sth n times in n line in python?
for example if program get 4 from input print hello 4 times in 4 lines.
2 Answers
+ 5
or even smaller:
x = int(input())
print (('hello '*x + '\n' )*x)
+ 3
there we go đ
for example if program get 4 from input print hello 4 times in 4 lines.