Talk:Loops/Increment loop index within loop body: Difference between revisions
Talk:Loops/Increment loop index within loop body (view source)
Revision as of 13:53, 23 June 2020
, 3 years agono edit summary
ReeceGoding (talk | contribs) (checking if 2*i is prime) |
ReeceGoding (talk | contribs) mNo edit summary |
||
Line 30:
:: 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
|