num = [2,5,6,8,9,10,12,15]
sq = 0
for val in num:
    sq = val*val
    print(sq)

"""Variuos options using Range

sum = 0
for x in range(6):
    sum = x+x
    print(sum)
Output:
0
2
4
6
8
10

sum = 0
for x in range(6):
    sum = sum+x
    print(sum)

Output:
0
1
3
6
10
15

sum = 0
for x in range(6):
    sum = sum+x
print(sum)

Output:
15

Wawww......"""
