Logo

Programming-Idioms

History of Idiom 2 > diff from v118 to v119

Edit summary for version 119 by programming-idioms.org:
Restored version 117

Version 118

2020-07-14, 18:46:59

Version 119

2020-07-15, 22:57:45

Idiom #2 Print Hello 10 times

Loop to execute some code a constant number of times

Idiom #2 Print Hello 10 times

Loop to execute some code a constant number of times

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