CBSE Class 11 Computer Science Question 98 of 98

Python Programming Fundamentals — Question 12

Back to all questions
12
Question

Question 12

id() function is used to determine the data type of a variable.

Answer

False

Reason — The id() function in Python is used to return the memory address of an object. To determine the data type of a variable, the type() function is used.