Write code for overriding concept, even or odd program ?
Implement a Python example that demonstrates method overriding for this task. Define a base class with a checking method, override it in a subclass, and expose the result through the required function.
Input: one integer number.
Output: return "Even" if the number is divisible by 2, otherwise return "Odd".
"Even" or "Odd"def even_or_odd(number):