Skip to content
Related Articles
Get the best out of our app
GeeksforGeeks App
Open App
geeksforgeeks
Browser
Continue

Related Articles

Python | Functions | Question 1

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

What will be the output of the following code :




print type(type(int))

(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
Last Updated : 28 Jun, 2021
Like Article
Save Article
Similar Reads