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

Contenu du cours

TEST FREE COURSE

book
Syntax of if Statement

Tâche

Swipe to start coding

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 desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 1. Chapitre 2
toggle bottom row

book
Syntax of if Statement

Tâche

Swipe to start coding

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 desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 1. Chapitre 2
Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
We're sorry to hear that something went wrong. What happened?
some-alt