Course Content
Data Types in Python
Data Types in Python
Challenge: Comparison Operators
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.
Thanks for your feedback!
Challenge: Comparison Operators
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.
Thanks for your feedback!