If-Else Statements Practice. Follow the Coin Snake
In this chapter, you'll have the opportunity to practice using if-else statements in the Knight Game. Your task is to collect all the coins on the map by following a path that resembles a snake.
Swipe to start coding
Solution
Thanks for your feedback!
knight.py
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Can you explain how the snake path works in the Knight Game?
What are the rules for collecting coins in this chapter?
Can you give an example of using if-else statements in this context?
Awesome!
Completion rate improved to 2.94
If-Else Statements Practice. Follow the Coin Snake
Swipe to show menu
In this chapter, you'll have the opportunity to practice using if-else statements in the Knight Game. Your task is to collect all the coins on the map by following a path that resembles a snake.
Swipe to start coding
Solution
Thanks for your feedback!
Awesome!
Completion rate improved to 2.94knight.py