Answers for "show shape of list"

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