1.9 exercise B by Wiliam | ScratchStats