Learnerslesson
   JAVA   
  SPRING  
  SPRINGBOOT  
 HIBERNATE 
  HADOOP  
   HIVE   
   ALGORITHMS   
   PYTHON   
   GO   
   KOTLIN   
   C#   
   RUBY   
   C++   




len( ) FUNCTION


len() Function


The len() Function is used to return the length of a String.


Example :


x = "Hello"
print("The length of the String is ",len(x))


Output :



  The length of the String is 5