"""
Question 040 - Level 02
Define a function which can generate and print a tuple where the values are square of numbers between 1 and 20 (both
included).
Hints:
Use ** operator to get power of a number.
Use range() for loops.
Use list.append() to add values into a list.
Use tuple() to get a tuple from a list.
--- Nguyen Van Duc ---
"""


def printTuple():
    l = list()
    for i in range(1, 21):
        l.append(i ** 2)
    t = tuple(l)
    print(t)


printTuple()
