PythonByteSize
  • Home
  • Detailed Videos
  • 1-Minute Videos
  • Exercises
  • Donate
  • Computing Topics
  • Mathematics
  • Educators
  • Contact
  • About

11.6. ​The Python len function and lists

In this video the Python len() function is considered and how it is able to find the length of a sequence, such as, a Python list. It also looks at how the len() function can be used with a while loop when iterating over a Python list (please note there are better ways to iterate over a list which I cover elsewhere on this website).
<< Previous Video
Next Video >>

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