# Answer to Question #68223 in Python for Roberto

Question #68223

Use for loops to produce the following array

import numpy as np

n = 5

A = np.zeros((n,n))

[0 0 0 0 0

1 0 0 0 0

4 9 0 0 0

16 25 36 0 0

49 64 81 100 0]

import numpy as np

n = 5

A = np.zeros((n,n))

[0 0 0 0 0

1 0 0 0 0

4 9 0 0 0

16 25 36 0 0

49 64 81 100 0]

Expert's answer

Need a fast expert's response?

Submit orderand get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

## Comments

## Leave a comment