Quiz in Python


#1

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!


#2

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


#3


#4

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


#5

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

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


#6

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


#7

Thank you!

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


#8

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