@[email protected] to Lemmy [email protected]English • 2 years agoI wishi.imgur.comimagemessage-square171fedilinkarrow-up1930
arrow-up1930imageI wishi.imgur.com@[email protected] to Lemmy [email protected]English • 2 years agomessage-square171fedilink
minus-square@[email protected]linkfedilink14•edit-22 years agoIf only you could do something like… def IsEven(number): return number % 2 == 0
minus-square@[email protected]linkfedilink5•2 years agoYou’re telling me Java doesn’t support the modulo operator?
minus-square@[email protected]linkfedilink1•2 years agoJava does have the modulo/remainder support, just like python.
If only you could do something like…
def IsEven(number): return number % 2 == 0
Can’t do that, we are taking about Java.
You’re telling me Java doesn’t support the modulo operator?
Java does have the modulo/remainder support, just like python.