Python | Functions | Question 1

What will be the output of the following code :

filter_none

edit
close

play_arrow

link
brightness_4
code

print type(type(int))

chevron_right


(A) type ‘int’

(B) type ‘type’



(C) Error
(D) 0


Answer: (B)

Explanation: The type() function returns the class of the argument the object belongs to. Thus, type(int) returns which is of the type ‘type’ object.

Quiz of this Question



My Personal Notes arrow_drop_up