I'm new to python. I want to design a program to get an input from user and display whether that number is even or odd. But I want to do it 3 functions. 1st function is for getting the user's input, 2nd function is to validate the number and the 3rd function is to display the result. Here is the code that I wrote:
def inputData():
    number=int(input('Enter No.'))
    return number
inputData()
def evenNo(number):
    if number%2==0:
        return True
    else:
        return False
evenNo(number)
def output(number):
    if evenNo()== True:
        print('\t Even')
    else:
        print('\t Odd')
    return number
output(number) 
It gives the following Error:
Traceback (most recent call last):
  File "C:/Users/DELL/Desktop/PPAS/Edited/TEST FINAL.py", line 11, in <module>
    evenNo(number)
NameError: name 'number' is not defined
