# Title: Even or odd check
# Heading: Python Program to Check if a Number Is Even or Odd
# Level: beginner
# Tags: even or odd, modulo, remainder, parity
# About: Checks whether a number is even or odd with the % operator, which gives the remainder after dividing by 2.

def even_or_odd(number):
    """'even' if 2 divides number exactly, otherwise 'odd'."""
    if number % 2 == 0:
        return "even"
    return "odd"


print("10 is", even_or_odd(10))
print("7 is", even_or_odd(7))
