Hello all,
In the “Object-oriented Programming” mission (step 8, course 2), it is written:
"For example, the
math.floor
function is really just a class method for themath
class. "
But is math really a class? It is at least a module (a collection of functions and classes) but if it were a class, you should be able to instantiate it with bar=math(foo). Am I correct?
Thanks for your help.
Maxime