How to find string length in python?
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))
In this way we can find the length of the string in python.
Subscribe
Login
Please login to comment
0 Discussion