I am trying to square each number in the list under *nums*. But I don't know how to do it. I got this so far:

```
def squareEach(nums):
for i in nums:
y=i*i
return y
```

What is happening here is it's counting how many numbers are in the list and then squaring it.I want the square of each number in the list....please help!thanks!