len() built-in function in python is called like this:
mylist = "Hello"
x = len(mylist)
On the other hand, the string built-in functions of str class are called using object with dot operator like this:
a = "Hello, World!"
print(a.lower())
Could someone please explain the reason of this difference in invocations of len() and other str methods like lower()?