Based on the simple example on
skulpt.org i tried some code snippets inside my own html-based introduction to python.
However, i found out, that both the function type() returns nothing and the __class__ attribute throws an error.
i tried:
i=5
print type(i)
print i.__class__
Using the online example, type() works but __class__ too gives an error.
What could be wrong with type() in my example? Why is __class__ not an attribute of an objekt?