Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
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 print the following sentence:

I raised as much as {score}