EN
Python - check string length
0
points
In this article, we would like to show you how to check string length in Python.
Quick solution:
len(string)
Practical example
In this example, we get the length of the "dirask.com"
string using len()
function.
string = "dirask.com"
print(len(string))
Output:
10