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
Let's get some practice in!
Note
Remember, when raising a number to a power, you should use the
**
operator.
Task
Swipe to show code editor
- On the second line, compute
0.99
to the power of365
. - On the fourth line, compute
1.01
to the power of365
.
Solution
What's the takeaway here? If you improve just 1 percent every day, by the end of the year, you'll be 37 times better. So keep pushing forward in your learning journey! :)
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 1. Chapter 5
Challenge
Let's get some practice in!
Note
Remember, when raising a number to a power, you should use the
**
operator.
Task
Swipe to show code editor
- On the second line, compute
0.99
to the power of365
. - On the fourth line, compute
1.01
to the power of365
.
Solution
What's the takeaway here? If you improve just 1 percent every day, by the end of the year, you'll be 37 times better. So keep pushing forward in your learning journey! :)
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 1. Chapter 5
Switch to desktop for real-world practiceContinue from where you are using one of the options below