- To find the string length
User Input: Hello World
Output: 11
s1=input("Enter your string : ") print("String length : ",len(s1))
Enter your string : Blue Sky String length : 8
len(s1)
Use len() method to find any string length
len()
Coming Soon !
Be happy for this moment. This moment is your life.