0
Please what's the "Id" do, or mean
For example... print(id(2))
2 Réponses
+ 6
The id() function returns a unique id for the specified object.
All objects in Python has its own unique id.
0
Ohh I see, so it means even strings have a special ID... Thanks for the enlightenment