Python Math Operations Quiz
- Questions: 15
- Easy
- Pass mark: 70%
Python makes a good calculator, but a few of its operators surprise beginners: / always gives a float, // rounds down even for negative numbers, and round() does not always round halves up. This free quiz has 15 short questions on doing math in Python.
What the quiz covers
- The arithmetic operators
+,-,*and/ - Floor division
//and the remainder%, with practical uses - Powers with
**and square roots - Order of operations and brackets
round(),abs(),min(),max(), shortcuts such as-=and dividing by zero
How it works
- 15 questions: 11 with one correct answer, 4 where you select every correct answer
- After each question you see the correct answer and a short explanation
- No time limit and no account needed
- Score 70% or more (11 of 15) to pass
Each topic has a runnable example: basic math operations, floor division and modulo, exponentiation and roots and order of operations. After this one, try the Python Data Types Quiz or the Python Basics Quiz.
Log in to save this result to your progress. Log in
Next up: Python Type Conversion and input() Quiz →