How to find string length in python?
![](https://pythonpoint.net/wp-content/uploads/2020/12/Pink-and-Blue-Abstract-Moms-Influencer-Freestyle-Art-YouTube-Channel-Art-1-1024x576.jpg)
String is a datatype which is written in single, double or triple inverted commas.
For finding the length of string we have a function len().
We’ll see some examples here.
e.g.,
s="Pythonpoint" print(len(s))
![](https://pythonpoint.net/wp-content/uploads/2020/12/Screenshot-1116-1024x256.png)
In this way we can find the length of the string in python.
Subscribe
Login
Please login to comment
0 Discussion