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

CodeSignal

Solving Problems with Loop Patterns in Python

via CodeSignal

Overview

Experienced programmers reach for a small set of reusable loop patterns to solve most repetition problems. You'll practice searching and aggregating data, constructing new collections from old ones, and nesting loops to process grids and tables the way real data-handling code does.

Syllabus

  • Unit 1: Essential Loop Patterns
    • Track the Highest Daily Sale
    • Track the Lowest Sale Too
    • Locate the First Big Sale
    • Count the Above Average Days
  • Unit 2: Building Lists with Loops
    • Build the Retail Price List
    • Shortlist the Budget Prices
    • Add Uppercase Category Labels
    • Add Clearance Prices to the Report
  • Unit 3: Mastering Nested Loops
    • Build the Sandwich Menu Pairings
    • Report the Sandwich Pairing Total
    • Print the Times Table Grid
    • Label Every Inner Loop Pass
  • Unit 4: Working With Grid Data
    • Total Every Cell in the Grid
    • Print the Sales Grid Aligned
    • Add Weekly Totals to the Report
    • Find the Best Sales Day

Reviews

Start your review of Solving Problems with Loop Patterns 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.