Question 6 (1 point)
The function Square replaces each element of a list of integers with the square of
that element. For example, when this function receives [2,0,-3] as input, the output
will be [4,0,9]. Incomplete code for Square is given below.
def Square (A):
for i in range(0, len (A)):
#FIX ME#
return A
What should the line of code which contains the expression #FIX ME# be replaced
with in order to complete the code?
A[i] = A[i]**2
i = A[i]**2
A[i] = i**2
i = i**2