Pearl and her robot Pascal are going to Gigaworld Amusement Park. While there Pearl will make comparisons between things in the park and computer coding.
Pearl introduces her readers to: code, variables, loop, if-then-else, and sequence. It all makes sense when Pearl talks about it. This story shows how coding does not need to be complicated. Older readers (adults, especially) will definitely want to read “Pearl and Pascal’s Guide to Coding” after the story is over.
Pearl and Pascal work their way around Gigaworld using tokens (a variable) until they are able to get onto the ride Python Rollercoaster with a short line. A loop is explained while they ride the Ferris wheel. If-then-else is explained as they make up their mind as to what to do next when the line to the rollercoaster is too long, in connection with a variable (Boolean).
It all makes sense when Pearl explains it.