Q.10 Consider a (5,6,7) shape array, what is the index (x,y,z) of the 50th element?

Ans.

print(np.unravel_index(50,(5,6,7)))


Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *