Bummer! You have been redirected as the page you requested could not be found.
Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Practice Writing Loops in Python!
You have completed Practice Writing Loops in Python!
Preview
Here's how I did it!
This video doesn't have any notes.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
probably because it's just a condition
with no variable or iteration needed.
0:00
Let's look at how I solve these problems.
0:00
The first problem, heating the oven
is a pretty normal use case for
0:03
a while-loop, so
we'll say while current_oven_temp < 350.
0:08
So as long as it's under 350,
we can go ahead and increase it, right,
0:14
so current_oven_temp + = 25, and
then print current_oven_temp.
0:19
Now, you could do these in either
order depending on how you read
0:24
the instructions.
0:26
Maybe you feel like you should
print it before you increase it or
0:27
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up