Challenge: Check if Even or Odd

Can we solve a challenge that will determine if the number is even or odd?

Problem statement

Write a code in both Python and Powershell that will check if the number is even or odd.

Expected output

The program should print “even” or “odd” when the number given is even or odd.

Get hands-on with 1200+ tech skills courses.