Type()


#1

I'm literally completely confused here. This is my code:

 print type(42)
 print type(4,2)
 print type('lol')

I don't get what I did wrong.


#2

for decimal numbers we use a dot (.) not a comma, so 4.2 instead of 4,2


#3

Thanks. It works now.