Syntax of if Statement
Task
Swipe to start coding
Let's play the game. Guess the number between 1 and 10.
- You have to implement
if
statement which will check that the number is equal to the number that I thought of; - If this condition is
True
you have to display the next text:Right, You guessed my number! I have in my mind number ...
.
Solution
Everything was clear?
Thanks for your feedback!
SectionΒ 1. ChapterΒ 2
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Awesome!
Completion rate improved to 33.33
Syntax of if Statement
Swipe to show menu
Task
Swipe to start coding
Let's play the game. Guess the number between 1 and 10.
- You have to implement
if
statement which will check that the number is equal to the number that I thought of; - If this condition is
True
you have to display the next text:Right, You guessed my number! I have in my mind number ...
.
Solution
Everything was clear?
Thanks for your feedback!
Awesome!
Completion rate improved to 33.33SectionΒ 1. ChapterΒ 2
single