Lesson 4 of 6
Several ifs in a row
You can place several "if" blocks one after another. Each one looks at its own question.
The robot packs its bag: "if the sun is out" it grabs sunglasses 🕶️, "if it's far" it grabs the backpack 🎒. Make BOTH true (the two first numbers bigger than 5).
🎯 Your mission
Change the two first numbers so they are bigger than 5. The robot will take 🕶️ AND 🎒.
PRO lesson
This advanced chapter is part of CodeAge PRO. Unlock it to keep your adventure going.
Discover PRO →