Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 370 Bytes

objects_101.md

File metadata and controls

9 lines (7 loc) · 370 Bytes

Objects 101

  1. What information an object in Python holds? or what attributes an object has? a. Explain each one of them
  • ID: unique identifier of the object
  • value: what data the object actually stores (e.g. an integer, string, ...)
  • type: the data type of the value (int, boolean, string, ...)
  • reference count: how many times the object is references/used