id() function is used to determine the data type of a variable.
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.
id()
type()