Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Apprendre Challenge: The Not Statement | Mastering Boolean Logic in Python
Data Types in Python
course content

Contenu du cours

Data Types in Python

Data Types in Python

1. Getting Familiar With Numbers in Python
2. Mastering Boolean Logic in Python
3. Strings
4. Bring All the Topics Together

book
Challenge: The Not Statement

Tâche

Swipe to start coding

I hope you remember the not statement! Please attempt the same task; it may appear somewhat challenging, but there is no need for excessive exertion!

Here, you should replace ___ with one of the True or False statements to make:

  1. The statement1 variable equal to False.
  2. The statement2 variable equal to True.

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 2. Chapitre 5
toggle bottom row

book
Challenge: The Not Statement

Tâche

Swipe to start coding

I hope you remember the not statement! Please attempt the same task; it may appear somewhat challenging, but there is no need for excessive exertion!

Here, you should replace ___ with one of the True or False statements to make:

  1. The statement1 variable equal to False.
  2. The statement2 variable equal to True.

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 2. Chapitre 5
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