Course Content
Introduction to Python
Introduction to Python
3. Conditional Statements
Boolean Data TypeChallenge: Comparison OperatorsCombining ConditionsChallenge: Logical OperatorsMembership Operators and Types ComparisonSimple if/else ExpressionsChallenge: Grocery StoreChallenge: Odd and Evenif/elif/else ExpressionsChallenge: Grocery Store ExtendedChallenge: Positive, Negative or Zero
Challenge: Comparison Operators
Task
Swipe to begin your solution
Evaluate the following statements using comparison operators from the previous chapter and print the results:
- Is
2
the same as4
? - Is
982*37
larger than354*98
?
Solution
Switch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?
Thanks for your feedback!
Section 3. Chapter 2
Challenge: Comparison Operators
Task
Swipe to begin your solution
Evaluate the following statements using comparison operators from the previous chapter and print the results:
- Is
2
the same as4
? - Is
982*37
larger than354*98
?
Solution
Switch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?
Thanks for your feedback!
Section 3. Chapter 2
Switch to desktop for real-world practiceContinue from where you are using one of the options below