Ad
  • Custom User Avatar

    Hi Sara,

    I would suggest you to try to run the code. The module operator (%) return the reminder in the division between the first and the second number. 6 divided by 2 is 3 with 0 as remainder, so in this code would be select the first item in the tuple, "Even", that is correct. Your version is easier to understand and more suitable for python, but the code written by graf_da still works.