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].
Next Section - Chapter 16 Exercises