+1 vote
in Python by
What does len() do?

1 Answer

0 votes
by

len() is used to determine the length of a string, a list, an array, and so on. ex: str = “greatlearning”

print(len(str))

o/p: 13

...