Python Loops Course

We introduce loops, powerful tools that help create the programs you need when using Python.

34 minutes

Course description

Discover the power of for and while loops to control the flow of your code to achieve powerful, dynamic results.​ Gain an understanding of the for loops, while loops, and using break, continue, and pass statements to control flow. These tools will help you create real-world programs with Python.​


Introduction to Python loops

Video - 00:05:00

Dartanion introduces the concept of various types of loops.
For loops

Video - 00:09:00

This video will take you on a deep dive of for loops.
While loops

Video - 00:04:00

We'll define and demo while loops.
Infinite loops

Video - 00:04:00

You'll learn about infinite loops in this video.

Video - 00:05:00

In this video, ranges will be explained.
Jupyter Notebooks

Video - 00:07:00

To round out this course, we'll take a look at Jupyter notebooks.

Unlock 7 days of free training

  • 1,400+ hands-on courses and labs
  • Certification practice exams
  • Skill assessments

Plans & pricing

Infosec Skills Personal

$299 / year

  • 190+ role-guided learning paths (e.g., Ethical Hacking, Threat Hunting)
  • 100s of hands-on labs in cloud-hosted cyber ranges
  • Custom certification practice exams (e.g., CISSP, Security+)
  • Skill assessments
  • Infosec peer community support

Infosec Skills Teams

$799 per license / year

  • Team administration and reporting
  • Dedicated client success manager
  • Single sign-on (SSO)
    Easily authenticate and manage your learners by connecting to any identity provider that supports the SAML 2.0 standard.
  • Integrations via API
    Retrieve training performance and engagement metrics and integrate learner data into your existing LMS or HRS.
  • 190+ role-guided learning paths and assessments (e.g., Incident Response)
  • 100s of hands-on labs in cloud-hosted cyber ranges
  • Create and assign custom learning paths
  • Custom certification practice exams (e.g., CISSP, CISA)
  • Optional upgrade: Guarantee team certification with live boot camps

Learn about scholarships and financing with

Affirm logo

Award-winning training you can trust