Micromot

joined 4 months ago
[–] Micromot@feddit.org 1 points 2 weeks ago (1 children)

That would already cause an exception when calling the function because it has int number in the parameters

[–] Micromot@feddit.org 1 points 3 weeks ago

Yeah, that's even simpler

[–] Micromot@feddit.org 7 points 3 weeks ago* (last edited 3 weeks ago) (9 children)

Can't you just

If (number % 2 == 0){return true}

[–] Micromot@feddit.org 17 points 3 weeks ago (3 children)

Which?(I am currently learning calculus)

[–] Micromot@feddit.org 8 points 3 weeks ago (1 children)

There have also been similar cases around him and his discord server