Quiz in Python


In Python Functions Quiz there is a question: "What will "print type(5)" output?", the correct answer is "", I don't understand what does it mean, is it an error or what? If it is an error should it be "Error: SyntaxError" or smth? Thank you!


is it possible you can give us a screenshot if this?



the correct answer is the bottom one, type() is a built in function which gives you the data type


So it just shows what type does the argument inside belong to?

Stetim94 codecademy@discoursemail.com於 2017年5月29日 週一,13:02寫道:


yes, it does. here are the docs about type, if you want to know more


Thank you!

Stetim94 codecademy@discoursemail.com於 2017年5月29日 週一,13:24寫道:


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