Python Basics: Chapter 05 – Numbers in Python Quiz

Interactive Quiz ⋅ 6 Questions
By David Amos

Although math and computer programming are not as correlated as as some people might believe, numbers are an integral part of any programming language and Python is no exception. Numbers appear all over the place in code—as user input, as coordinates in a geometry system for graphics, as data to be analyzed, and so on.

By the end of this chapter you will know how to:

  • Work with Python’s three built-in number types: integer, floating-point, and complex numbers
  • Round numbers in Python
  • Format and display numbers

If you’d like to walk through these concepts in a video course, then check out Python Basics: Numbers and Math.

The quiz contains 6 questions and there is no time limit. You’ll get 1 point for each correct answer. At the end of the quiz, you’ll receive a total score. The maximum score is 100%. Good luck!

« Browse All Python Quizzes