I have this 2d array :
import numpy as np
R = int(input("Enter the number of rows:")) //4
C = int(input("Enter the number of columns:")) //5
randnums= np.random.randint(1,100, size=(R,C))
print(randnums)
[[98 25 33 9 41]
[67 32 67 27 85]
[38 79 52 40 58]
[84 76 44 9 2]]
Now, i want to happen is that i will search an element and the output will be its column and rows example.
enter number to search : 40
Number 40 found in row 3 column 4
enter number : 100
number not found
something like this ? thanks in advance