I am told to
Write a function, square(a), that takes an array, a, of numbers and returns an array containing each of the values of a squared.
At first, I ha
def square(a): squares = [] for i in a: squares.append(i**2) return squares
so how would i do the square of numbers from 1-20 using the above function