Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

CodeSignal

Iterations and Loops in Python

via CodeSignal

Overview

Saddle up for a thrilling ride through Python's looping mechanisms! This course is ingeniously crafted to make you loop literate. By the end of this adventure, you'll be spinning through data with for and while loops, and streamlining code with Pythonic iteration patterns.

Syllabus

  • Lesson 1: The Interstellar For Loop Journey: Traversing Collections With Ease in Python
    • Revealing the Years of Notable Space Missions
    • Star Coordinates Calculation Fix
    • Space Race: Finding the Fastest Spaceship
    • Unveiling the List of Earth-Like Planets
    • Charting the Orbits of Planets
  • Lesson 2: Navigating For Loops in Python: Deep Dive into Range and Enumerate
    • Exploring Space with Enumerate and Range
    • Changing Civilizations to Cosmic Objects
    • Planetary Index Error Fix
    • Contemplating the Constellations: Indexing and Iterating Star Names
    • Generating and Enumerating the First Letters of Planetary Names
  • Lesson 3: Embarking on the While Loop Journey: Steering Through Python's Control Flow Mechanics
    • Exploration of Earth Using a While Loop
    • Adjusting Cruise Distance While Approaching Saturn
    • Programming the Mars Landing
    • Adding Print Statement to Track Orbits
    • Reverse Engineering the Voyage to Venus
  • Lesson 4: Interstellar Strolls Through Python: Loop and Conditional Symbiosis
    • Welcome the Party Guests
    • Adjusting Invitations for VIP Guests Only
    • Cosmic Party Guest Greetings Issue
    • Write Conditions for Party Guest Entry
    • Preparing Personalized Messages for Space Party Guests
  • Lesson 5: Unmasking Nested Loops: Navigating Advanced Looping Structures in Python
    • Spaceships and Planets: Traversing with Nested Loops
    • Navigating Through Nested Loops in the Cosmo System
    • Planet Gazing from Stars: Changing Print Statements
    • Stellar Constellation Corrections
    • Space Mission Assignment
    • Adding Orbits to Our Universe
    • Orbiting through Cosmos: Nested Loops in Action
  • Lesson 6: Commanding Loops: Mastery of Break and Continue in Python
    • Observing Celestial Bodies with Safety Measures
    • Preserving Telescope Battery Power in Space
    • Fixing the Visibility Check in the Astronomy Observation Code
    • Adding a Break Condition to Conserve Energy
    • Navigating Celestial Bodies: Observations in Space

Reviews

Start your review of Iterations and Loops in Python

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.