In python, I defined a class 'number'. Now I wish to define a function named 'number' too. (Just like 'int' or 'str' are classes as well as you can use them as functions ('int()' , 'str()') for type conversion). How can I do the same with (my class and function) 'number'?
[Would it be correct to call this as polymorphism?]