16/19 Type() Issues


It's a simple enough exercise, just use the type() command, to identify the "type" of your input.

print type(1)

print type(1.2)

print type("ss")

That is my entire code. I keep getting this error... (Scroll all the way down, it is the same thing until the very end.)

Traceback (most recent call last):
File "python", line 1, in
File "python", line 4, in type (about 100+ repeats of this line.)
RuntimeError: maximum recursion depth exceeded

So what's up?


try to reload the webpage and use parentheses with print method like:



This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.