PythonByteSize
  • Home
  • Video Index
    • 1. The Basics
    • 2. Python Program Structures
    • 3. Python Operators
    • 4. Python Functions
    • 5. Introduction to Classes and Objects
    • 6. Python Strings
    • 7. User Defined Functions
    • 8. Classes and Objects
    • 9. Python Dictionaries
    • 10. Python tkinter
    • 11. Python Lists
    • 12. Python Namespaces
    • 13. Turtle Graphics
    • 14. Python Tips
    • 15. Complex Numbers
  • 1-Minute Videos
  • Exercise Index
    • 1. The Basics Exercises
    • 2. Python Program Structures Exercises
    • 3. Python Operators Exercises
    • 4. Python Functions Exercises
  • Donate
  • Computing Topics
  • Mathematics
  • Educators
  • Contact
  • About

11.4. ​Creating and initialising a fixed size Python list

In this tutorial I look at how to create and initialise a fixed size Python list. Whilst pointing out that you should not really regard a list as fixed in size (just because the arrays of other languages are fixed in size). A Python list is similar to arrays of other languages but they are not the same. For example a list can store mixed types in its elements and a list can grow and shrink its length as expressed by the number of its elements.
<< Previous Video
Next Video >>

Please consider donating to help with the costs incurred in developing this website.             Donate >>