Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Syntax of if Statement | Python if Statement
TEST FREE COURSE
course content

Course Content

TEST FREE COURSE

book
Syntax of if Statement

Task
test

Swipe to begin your solution

Let's play the game. Guess the number between 1 and 10.

  1. You have to implement if statement which will check that the number is equal to the number that I thought of;
  2. If this condition is True you have to display the next text: Right, You guessed my number! I have in my mind number ....

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!

Section 1. Chapter 2
toggle bottom row

book
Syntax of if Statement

Task
test

Swipe to begin your solution

Let's play the game. Guess the number between 1 and 10.

  1. You have to implement if statement which will check that the number is equal to the number that I thought of;
  2. If this condition is True you have to display the next text: Right, You guessed my number! I have in my mind number ....

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!

Section 1. Chapter 2
Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
We're sorry to hear that something went wrong. What happened?
some-alt