Introduction
Displaying values
Variables
The print function
List basics
Summary
24. Exercise 2

Instruction

Great, how about some math now?

Exercise

Peter wanted to sell some old books he found in his cabinet. He found 67 old books, of which 43 were too damaged to be sold. Peter managed to get $5 for each of the remaining books.

Assign the final amount Peter raised to a variable named score and show the following sentence:

I raised as much as {score}