def even_and_odd(n):
    """ A function that returns all even and odd numbers between a range n"""
    for num in range(n):
        if num % 2 == 0:
            print(f'{num} is an Even number')
        elif num % 2 != 0:
            print(f'{num} is an Odd number')
    return n