Python Numeric Types

Hi Rene,

In given eg,
my_integer = 1.9
type(my_integer)

my_int = int(my_integer)
type(my_int)

i could not understand the output of last two commands , as per me it will be like this:

type(my_integer) =  type(1.9)
my_int = int(1.9)
type(my_int) = type (int(1.9))

so as per you it shows that class is integer(what integer) and How and how it get rid of decimal values?