Your question is Odd or Even Program. Start with the requirements on the right.
Run and submit as often as you like. When you're ready, talk me through your approach or go straight to the code.
A Tavant utility needs to classify an integer before applying a processing rule. Write a function that determines whether the given number is odd or even.
Implement classify_parity(number), which accepts one integer and returns the string "even" if the number is divisible by 2, or "odd" otherwise. Zero is considered even, and the function must support positive, zero, and negative integers.
def classify_parity(number):