Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Side-to-Side Sushi | Basic Controls
Python Ninja
Section 1. Chapter 3
ninja.py

ninja.py

bookSide-to-Side Sushi

Swipe to show menu

Note

Each time you use a movement method, the Ninja moves exactly one tile in the specified direction.

Note

In the task code, you will see pass written inside the functions. This is done so that you do not get an error when trying to run an unimplemented function.

When completing the task, you may remove pass or leave it as is — this will not affect the result of the program.

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!

Section 1. Chapter 3
ninja.py

ninja.py

Ask AI

expand

Ask AI

ChatGPT

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

some-alt