From ComputerCraft⧼vector-jumptonavigation⧽ ⧼vector-jumptosearch⧽
Return the remainder of dividing x by y. This has the same behaviour as the
|Read a line from the user, then print if it is evenly divisible by 2.|
print(math.mod(tonumber(read()), 2) == 0)
|Output||Depends on what the user wrote. For instance, if they were to enter
Retrieved from "https://wiki.computercraft.cc/index.php?title=Math.mod&oldid=3347"