Declare different types of variables; print their types, ids and variables in Python.
There are two inbuilt functions are using in the program:
- type() - its returns the data type of the variable/object.
- id() - it returns the unique identification number (id) of created object/variable.
-
Program:
Output
need an explanation for this answer? contact us directly to get an explanation for this answer