Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn If-Else Statements Practice. Follow the Sushi Snake | If-Else Statements
Python Ninja

bookIf-Else Statements Practice. Follow the Sushi Snake

In this chapter, you'll have the opportunity to practice using if-else statements in the Ninja Game. Your task is to collect all the sushi on the map by following a path that resembles a snake.

Task

Swipe to start coding

Solution

Explore other courses in Catalog

Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 5. ChapterΒ 4
ninja.py

ninja.py

Ask AI

expand

Ask AI

ChatGPT

Ask anything or try one of the suggested questions to begin our chat

Suggested prompts:

Can you give me an example of how to use if-else statements in the Ninja Game?

What does the snake-like path look like in this context?

Are there any tips for collecting all the sushi efficiently?

close

Awesome!

Completion rate improved to 2.94

bookIf-Else Statements Practice. Follow the Sushi Snake

Swipe to show menu

In this chapter, you'll have the opportunity to practice using if-else statements in the Ninja Game. Your task is to collect all the sushi on the map by following a path that resembles a snake.

Task

Swipe to start coding

Solution

Explore other courses in Catalog

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

close

Awesome!

Completion rate improved to 2.94
SectionΒ 5. ChapterΒ 4
ninja.py

ninja.py

some-alt