Line 1, column 7:
`total` is not defined.
Check the spelling, or define it first with `total = ...`.
