If-Else Statements Practice. Roll the Sushi
In this chapter, you will have the opportunity to practice using if-else statements in the Ninja Game. Our ninja friend has been tasked with an important mission: to roll sushi back into designated storage cells. These storage cells are conveniently located one cell down from the sushi's current position
Swipe to start coding
Solution
Thanks for your feedback!
ninja.py
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Can you explain how if-else statements are used in the Ninja Game?
Can you give an example of an if-else statement for this scenario?
What should I do if the storage cell is already occupied?
Awesome!
Completion rate improved to 2.94
If-Else Statements Practice. Roll the Sushi
Swipe to show menu
In this chapter, you will have the opportunity to practice using if-else statements in the Ninja Game. Our ninja friend has been tasked with an important mission: to roll sushi back into designated storage cells. These storage cells are conveniently located one cell down from the sushi's current position
Swipe to start coding
Solution
Thanks for your feedback!
Awesome!
Completion rate improved to 2.94ninja.py