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:51, 23 June 2020
, 3 years agochecking if 2*i is prime
m (added a comment.) |
ReeceGoding (talk | contribs) (checking if 2*i is prime) |
||
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 solution has 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)
|