Answers for "how to find the shape of list in python"

1

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
Posted by: Guest on April-18-2021

Code answers related to "how to find the shape of list in python"

Python Answers by Framework

Browse Popular Code Answers by Language