मराठी

How is memory allocated to a list in Python?

Advertisements
Advertisements

प्रश्न

How is memory allocated to a list in Python?

लघु उत्तर
Advertisements

उत्तर

  • Python allocates memory dynamically for a list.
  • The list stores a contiguous array of references to its objects.
  • Its size is not fixed; memory is resized when elements are added or removed.
  • The memory used by each reference depends on the system architecture, such as 32-bit or 64-bit mode.
shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 5: Liner List Manipulation - EXERCISE [पृष्ठ १०४]

APPEARS IN

सीबीएसई Computer Science with Python [English] Class 12
पाठ 5 Liner List Manipulation
EXERCISE | Q 6. | पृष्ठ १०४
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×