# define the repeat16 function here
def repeat16(ball):
ball1 = grid(ball, ball, ball, ball)
ball2 = grid(ball, ball, ball, ball)
ball3 = grid(ball, ball, ball, ball)
ball4 = grid(ball, ball, ball, ball)
ball = grid(ball1, ball2, ball3, ball4)
return ball
This is what I have done.