Repairing a grouped divisor

A game rule says to divide 24 points by twice the sum of 1 and 3, then add a bonus of 2 cubed points. A programmer writes 24 / 2 * (1 + 3) + 2 ** 3 in Python. Find the score produced by this code and the score intended by the rule. Give both scores in points, to one decimal place.

Your answers

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Expressions and Statements Questions: