
# https://www.globalsino.com/ICs/
# Pass variables between functions


yearA = 2006
yearB = 2007

def funcE(yearA, yearB):
    a = 35
    for n in range(10):
        print(n)
        i = n + a
        yearA = i + yearA
        return yearA, yearB

yearA, yearB = funcE(2006, 2007)   
print("The output is ", yearA, "and", yearB)


