Skip to main content
Preview the Course
Grade 9-12

Exploring While Loops in Python

by Ivan I. | Computer Programming

5 Lessons 49:30
  1. 1. Introduction to While Loops 3:45
  2. 2. Structure and Infinite Loops 8:18
  3. 3. Examples 17:33
  4. 4. Assignments 2:22
  5. 5. Assignments Answers 17:32

Grade 9-12


NGSS Standards

About the course

While "for" loops are amazing and helpful, they are limited to a set number of iterations. In this class, we will discuss how 'while' loops solve this problem. We will be able to iterate lines of code repeatedly until a condition is no longer true. Students will learn about while loops, how to use it, and when to use it. We will discuss the difference between 'for' loops and 'while' loops and code several examples with both types of loops.


  • Code
  • Coding
  • Computer Science
  • Loops
  • Programming
  • Python
  • While Loops


I have tutored hundreds of students in various subjects, formats, and locations. I have taught students both online and in-person subjects ranging from chess, SAT, ACT, computer science, SHSAT, and personal finance. I have hosted large classes as well as one-on-one sessions. In high school, I have taught SHSAT at a tutoring school, chess at a non-profit organization and for an after school program. As a college student, I host online chess workshops as well as private lessons. I cater my lessons to the needs of the class and individual and strive to make the topic engaging, interactive, and fun!

See full profile

Great News! Ivan wants to help you unlock your potential.
Virtual tutoring is available now within a few clicks.