Skip to main content

Checkpoint: Types and Expressions

beginner15 min readLesson 9 of 204

One graded challenge: compute a receipt exactly right — prices, tax, and a bill split without the integer-division bug.

Checkpoint — types and expressions. Pass the graded challenge below to finish the module.

It is a small receipt calculator: totals, a tax line, and an even bill split. The tests check exact numeric output — every famous trap from this module is waiting in it, once each.