Logo

Programming-Idioms

History of Idiom 2 > diff from v63 to v64

Edit summary for version 64 by joejoe:
[Python] wdaw

Version 63

2019-03-25, 14:46:09

Version 64

2019-03-25, 14:46:58

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