Articles → PYTHON → Calculate The Length Of A Collection In Python
Calculate The Length Of A Collection In Python
Example
tuple = ("Banana","Orange","Grapes","Straw berry")
print("Length of the collection is:", len(tuple))
Output
Posted By - | Karan Gupta |
|
Posted On - | Monday, February 25, 2019 |