HomePython Python How to Find the Length of a String in Python? By HTuser 1 Use `len(my_string)` Example: `text = “hello”` Example: `length = len(text)` Example: `print(length)` Share FacebookXPinterestWhatsApp Suggested for You How to Write Comments in Python? How to Use If Statements in Python? How to Use If in Python? How to Use If Else in Python? How to Use For Loop in Python? How to Use Else If in Python? How to Split the String in Python? How to Split String in Python? How to Run Python File in CMD? How to Remove Duplicates in List Python? How to Remove Duplicates in List in Python? How to Remove Duplicates from List in Python? How to Remove Duplicates from a List in Python? How to Print Hello World in Python? How to Open Python? How to Learn Python from Scratch? How to Install Python on Linux? How to Install Python in Ubuntu? How to Import Library in Python? How to Import a Module in Python? How to Define Variable in Python? How to Define a Variable in Python? How to Define a Class in Python? How to Create Object in Python? Load more Trending Today How to Evolve Sandygast? How To Delete Applications From iPad? How to Screen Record on a Chromebook? How To Make Edible Slime? How To Prepare Gobi Manchurian? How To Make A Fantasy Nun Outfit? Load more