Listing this as a function makes it a bit easier, yes. But remember that classes are called * - the way you create an instance of a class!
If this helps you, consider str(5)how to build a string from a number 5.
, : int(), float(), str(), tuple(), list(), set(), file()... " re , , .
*: , .