
Python 03: Mathematical operations
Quiz by Jonathan Saurine
Tag the questions with any skills you have. Your dashboard will track each student's mastery of each skill.
What will be the output of the following code?<br> <pre><code>print(25 + 5)</code</pre>
What will be the output of the following code?<br><pre><code>length = 2.4<br>width = 1.4<br>print("You have", length * width, "metres of fabric.")</code></pre>
What will be the output of the following code?<br><pre><code>print(round(1 / 3, 2))</code></pre>
What is the result of the following expression?<br><pre><code>print(round(5**2, 1))</code></pre>
What is the result of the following expression?<br><pre><code>print(3 + 4 * 2)</code></pre>
What is the result of the following code?<br><pre><code>print(10 % 3)</code</pre>
What is the result of the following expression?<br><pre><code>print(7 // 2)</code></pre>