Chapter 16 - Concept Summary

Chapter 16 included the following concepts from computing.

Summary of Python Keywords and Functions

  • Len - The len (length) function returns the number of items in a collection (a string or a list).
  • Range - The range function returns a list of numbers. For example, range(3) returns the list [0, 1, 2]. The optional third value is the change amount range(5, -1, -1) returns the list [5, 4, 3, 2, 1, 0].

Note

This is the end of chapter 16. We would love it if you could give us some feedback on this chapter at https://www.surveymonkey.com/r/ch16-student-fb. You might want to open this link in a new tab to make it easier for you to return to your place in this ebook.

Next Section - Chapter 16 Exercises