Shopping Total: a coding challenge in World 1

You're at the stationery shop, buying notebooks for the new school year.