Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Challenge: Comparison Operators | True or False?
Data Types in Python
course content

Course Content

Data Types in Python

Data Types in Python

1. Getting Familiar With Numbers in Python
2. True or False?
3. Strings
4. Bring All the Topics Together

bookChallenge: Comparison Operators

Task
test

Swipe to show code editor

Here, you are going to cope with the task that boosts your logical skills.

Enter numbers to fields to make all statements True.

Note

You use boolean logic almost every day, but in a way that is normal for you. For instance, if you say, "I am older than my sister", it can be represented as my age > sister's age. Or if you say, "My mom's and my hobbies are distinct", it means my hobbies != mom's hobbies.

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

bookChallenge: Comparison Operators

Task
test

Swipe to show code editor

Here, you are going to cope with the task that boosts your logical skills.

Enter numbers to fields to make all statements True.

Note

You use boolean logic almost every day, but in a way that is normal for you. For instance, if you say, "I am older than my sister", it can be represented as my age > sister's age. Or if you say, "My mom's and my hobbies are distinct", it means my hobbies != mom's hobbies.

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

bookChallenge: Comparison Operators

Task
test

Swipe to show code editor

Here, you are going to cope with the task that boosts your logical skills.

Enter numbers to fields to make all statements True.

Note

You use boolean logic almost every day, but in a way that is normal for you. For instance, if you say, "I am older than my sister", it can be represented as my age > sister's age. Or if you say, "My mom's and my hobbies are distinct", it means my hobbies != mom's hobbies.

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!

Task
test

Swipe to show code editor

Here, you are going to cope with the task that boosts your logical skills.

Enter numbers to fields to make all statements True.

Note

You use boolean logic almost every day, but in a way that is normal for you. For instance, if you say, "I am older than my sister", it can be represented as my age > sister's age. Or if you say, "My mom's and my hobbies are distinct", it means my hobbies != mom's hobbies.

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Section 2. 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