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))



Output


Picture showing the output of Len function in python



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

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250