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.

Note

This is the end of chapter 14. We would love it if you could give us some feedback on this chapter at https://www.surveymonkey.com/r/ch14-teacher-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.

You have attempted of activities on this page