Logo

Programming-Idioms

History of Idiom 2 > diff from v24 to v25

Edit summary for version 25 by :
New Lua implementation by user [jparoz]

Version 24

2016-02-16, 15:01:07

Version 25

2016-02-16, 15:14:01

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

Code
for i=1, 10 do
	print('Hello')
end