I noticed Python comes with built-in methods such as .upper() or lower() and these two are part of the string object.
"a string".upper()
"A STRING".lower()
What confuses me is that some functions are not called on an object, for example the function type
type("a string")
So in this case, is "type" considered a method or just a stand-alone function which is built into the language?