Find The Length Of A String In Python
If you want to find the length of a string in Python it's dead easy! We can just use the built-in print len() function to find it out.
A string is just a series of characters. If we wanted to find the length of a string which is someone's name, we'd just be finding how many letters are in that name.
name = "Pete"
print (len (name))
Output = 4
Check out how Dennis Ivy learned python and sold a website for $40,000.