Skip to the workspace
Pebellslearn by building
← All practice tasks

Foundation · Coding exercise

Repair a missing return

functions · return

Not checked yet

Guest practice stays in this visit. Sign in to save your progress. Checks cover the stated cases; discussion rubrics are self-reviewed. These tasks do not mark course lessons complete.

DrillRepair a missing return

Implement total_with_fee(subtotal, fee=20). Return the sum. The caller must be able to use it in another calculation; printing is optional and insufficient.

Hover to wake the cannons. Drag to move, or use arrow keys when focused. Press Enter to fire a shot.