Qasim Kheran Python

def function(number):

    negative = 10
    positive = 1
    negative_side = []
    positive_side = []

    while negative >= 1 and positive <= 10:

        negative_side.append((number - negative)**2)
        positive_side.append((number + positive)**2)

        negative -= 1
        positive += 1

    negative_side.append(number**2)
    print(negative_side + positive_side)
Annoyed Anteater