Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll

- 2x 2x
- 1.75x 1.75x
- 1.5x 1.5x
- 1.25x 1.25x
- 1.1x 1.1x
- 1x 1x
- 0.75x 0.75x
- 0.5x 0.5x
Repeating things in code is a frequent need. "while" repeats code until an expression is no longer True. Let's explore how to use it.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
Carl Hart
4,870 PointsI added a little extra code to show number of attempts left....
Posted by Carl HartCarl Hart
4,870 Points2 Answers
-
Gabriel Guerra
Data Analysis Techdegree Graduate 9,109 Points1 Answer
-
Dominick Chism
8,857 Points1 Answer
-
Zahkyi Ferguson
504 Points2 Answers
-
Amy Tomey
12,847 Points2 Answers
-
devin blair
4,955 PointsRestarting program rather than exiting when entering an invalid number
Posted by devin blairdevin blair
4,955 Points1 Answer
-
df vs
Full Stack JavaScript Techdegree Student 1,016 Points1 Answer
-
David Super
3,138 Points1 Answer
-
Chaquayla Halmon
1,797 Points1 Answer
-
Kay Fuen
1,144 Points1 Answer
-
Brien Brzeski
278 Points2 Answers
-
Stephen Hancock
4,888 Points1 Answer
-
Andrew Uzoka
1,949 Points4 Answers
-
Miguel Richardson
3,650 Points4 Answers
-
Peter Smith
1,550 Points1 Answer
-
Federico Lemaire
8,423 Points2 Answers
View all discussions for this video
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
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