Previous Lesson Current Lesson Next Lesson

Question 1

Let’s unpack this question a little. We want to divide a sum by a product. Thus, the sum and product should be computed first before doing the final division, leading to the following expression:

print((3 + 5) / (10.5 * 0.6))

This leads to an output of:

1.2698412698412698

Question 2

print((12345 * 6789) - 0.951)

This will output:

83810204.049