Module 2 · Check it yourself · challenge 1 of 3 in this lesson
A Coin class has new(value) and a __tostring that prints Coin worth 5
You compare your work with the list of what done means.
Open
Level 1, Apprentice
Challenge
Give a class a readable printout.
- Start from
- Any Run cell in this lesson
Done means
- A Coin class has new(value) and a __tostring that prints Coin worth 5
- print(Coin.new(5)) shows that text
Meet the criteria above, then record your own result. No test grades this check.