Example & Tutorial understanding programming in easy ways.

How we find the length of the given string in Python ?

code:

s="Mystring"

print(len(s))

// it will print 8

- Here we use len() function to find the length of the string.

Read More →