Loading…
Define a variable num (num = 4). If it’s even, print 'Even'. Otherwise, print 'Odd'. Ensure your final console output is exactly one line, 'Even' or 'Odd'.
Create a free account to save your progress and reveal the worked answer for this free exercise. The complete practice library is available with Practice Pass or Mastery.
Create a free account to save your progress and reveal the worked answer for this free exercise. The complete practice library is available with Practice Pass or Mastery.