Logo

Programming-Idioms

History of Idiom 2 > diff from v64 to v65

Edit summary for version 65 by joejoe:
[Python] dwdww

Version 64

2019-03-25, 14:46:58

Version 65

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