Chapter 14 - Summary

Chapter 14 included the following concepts from computing.

Summary of Python Keywords and Functions

  • Modulo - The modulo, or remainder operator, %, returns the remainder after you divide one value by another. For example the remainder of 3 % 2 is 1 since 2 goes into 3 one time with a remainder of 1.
  • Randrange - The randrange function is used to return a random number. It is part of the random library.
Next Section - Chapter 14 Exercises