


def is_even(a):
    if a%2 == 0:  #checking if there is a ratio - if no ratio, its even
    #return a/2 == a//2 possible solution
        print("Number is even.")
    else:
        print("Number is odd.")  #Just need ELSE statement, if it isn't even then it is odd.

is_even(7)

# matthew solution:

# def is_even(a):
#     return a%2 ==0
#
# def is_odd(a):
#     return a%2 == 1
#