Save up to $499! Grab all Python courses for $49 or all online courses we’ve ever launched for only $169. Only Feb 11-16. Happy Valentine's!
Displaying values
The print function
List basics
24. Exercise 2


Great, how about some math now?


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}