Scratch and Snap Count cakes
This uses a couple of blocks that I believe Scratchers would quickly adopt in their projects. The “If <> then [] else []” is something that Scratchers have asked for and would make code a little bit cleaner. The split block is a very useful block when working with strings. The keep items list command is another block that Scratchers should enjoy using even if it seems confusing at first. The programs are given a string of foods. They each create a list of those foods and then count the number of cakes in their list.
Created February 14, 2023
Last updated March 2, 2023
Published February 14, 2023