Why do I use len(parrot), but I need to use parrot.lower(), instead of lower(parrot)?
.lower() is a string function. All string functions have the same format.
Example- string.lower() string.upper() string.join()
len() on the other hand, can be used for various datatypes. It can return the length of a string, or a list etc.
thanks this was a big help
yea dude just stop smoking please