Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn If-Else Statements Practice. Roll the Coins | If-Else Statements
Python Knight

bookIf-Else Statements Practice. Roll the Coins

In this chapter, you will have the opportunity to practice using if-else statements in the Knight Game. Our knight friend has been tasked with an important mission: to roll coins back into designated storage cells. These storage cells are conveniently located one cell down from the coin's current position

Task

Swipe to start coding

Solution

Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 5. ChapterΒ 2
knight.py

knight.py

Ask AI

expand

Ask AI

ChatGPT

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

close

Awesome!

Completion rate improved to 2.94

bookIf-Else Statements Practice. Roll the Coins

Swipe to show menu

In this chapter, you will have the opportunity to practice using if-else statements in the Knight Game. Our knight friend has been tasked with an important mission: to roll coins back into designated storage cells. These storage cells are conveniently located one cell down from the coin's current position

Task

Swipe to start coding

Solution

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Β 2
knight.py

knight.py

some-alt