Articles → Python → Len function in python

Len function in python






Purpose





Example


message = "This is the test string"

print("Length of the message is", len(message))




Picture showing the output of Len function in python

Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Thursday, February 21, 2019

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250