Define the following term with example [2x3]
print()
id()
type()
CLASS XI CBSE
Attachments:
Answers
Answered by
1
Answer:
Python id() function returns an identity of an object. This is an integer which is guaranteed to be unique. This function takes an argument an object and returns a unique integer number which represents identity. Two objects with non-overlapping lifetimes may have the same id() value.
Similar questions