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 Comparisons in Python!
You have completed Practice Comparisons in Python!
Preview
Here's the approach I took to solve this challenge.
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
Let's walk through how I
handled this challenge.
0:00
Here's our first TODO.
0:04
Remember that inputs are string values and
we need our number to be an integer for
0:07
our math operations.
0:12
We can do that by passing
the input into the int function.
0:13
Let's look at our next TODO's here.
0:22
For the next task, we need to utilize
string formatting and a new line.
0:28
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