Summary: in this tutorial, you will learn how to use the Python len() function to get the number of items of an object. Introduction to the Python len() function. The len() function returns the number of items (length) of an object. Here’s the syntax of the len() function: len(s) Code language: Python (python) More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.