list.shape use code example
Example: list shape python
#consider as a example
import numpy as np
l=[[1,2,3],[3,4,5]]
print(np.shape(l)) #this will give the shape of list
#consider as a example
import numpy as np
l=[[1,2,3],[3,4,5]]
print(np.shape(l)) #this will give the shape of list