Answers for "find shape of list 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

Python Answers by Framework

Browse Popular Code Answers by Language