Talk:Loops/Increment loop index within loop body: Difference between revisions

m
no edit summary
m (added a comment.)
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 29:
 
:: The task's requirements has been updated (to the above).     -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 07:54, 22 March 2019 (UTC)
 
To be clear, does this mean that the first Kotlin solution is an example of what isn't wanted? As I understand it, that solution checks if i is prime, and if it is, it replaces i with 2*i and then checks that. It looks like the Lua and Nanoquery solutions have the same issue, but I'm drifting away from languages that I know. --[[User:ReeceGoding|ReeceGoding]] ([[User talk:ReeceGoding|talk]]) 13:51, 23 June 2020 (UTC)
331

edits