Logo

Programming-Idioms

History of Idiom 2 > diff from v86 to v87

Edit summary for version 87 by yatin:
New Python implementation by user [yatin]

Version 86

2019-09-26, 21:49:27

Version 87

2019-09-26, 21:52:15

Idiom #2 Print Hello 10 times

Loop to execute some code a constant number of times

Illustration

Idiom #2 Print Hello 10 times

Loop to execute some code a constant number of times

Illustration
Code
print("Hello\n"*10)
Demo URL
http://ideone.com/BF7qbj