Python Tuple len()

In this lesson, we will learn about Python tuple len() built-in function. It returns the size or length of the tuple. I mean, its return, how much items are exist in a tuple.

 

Syntax:

the syntax of python tuple len() built-in function

 

 

Parameter:

It takes a single parameter

tuple_name: It is represent to that tuple from which we want to count items

 

Check the examples below to understand

 

Example#1

Output/Results

 

 

Example#2

Output/Results

 

 

Get More Python Tutorials

Python Tuples