Uncategorized Print Only Integer Python - If x is not a python int object, it has to define an __index__() method that returns an integer. Floating point or real numbers.