Logo

Programming-Idioms

History of Idiom 2 > diff from v65 to v66

Edit summary for version 66 by :
Restored version 61

Version 65

2019-03-25, 14:51:15

Version 66

2019-03-26, 20:14:44

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
helloooo
Code
for i in range(10):
    print "Hello"
Comments bubble
Indention is mandatory
Comments bubble
Indention is mandatory