Computer Science
id() function is used to determine the data type of a variable.
Python Funda
5 Likes
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.
Answered By
1 Like
Related Questions
Null literal in Python means "there's nothing here".
Python supports multiple assignments to multiple variables.
Which of the following are the fundamental building blocks of a Python program?
- Identifiers
- Constants
- Punctuators
- Tokens
Identifier name cannot be composed of special characters other than …………… .
- #
- Hyphen (-)
- Underscore (_)