Coding Park
Python Basics lab thumbnail
Python · 6 notebooks · beginner

Python Basics

Learn Python basics through six progressive notebooks. Each session combines short explanations, comprehension questions, exercises, and validation.

Free · No account·Beginner level·Self-paced

What you'll learn

  • ✓Read Python expressions and work with variables and types
  • ✓Write conditions, loops, and simple functions
  • ✓Iterate over and transform strings and lists
  • ✓Clean measurements and produce a trip summary in the final mini-project

The 6 notebooks

01
Your first programs
Understand expressions, variables, types, and how to produce a result.
02
Making decisions
Build Boolean expressions and write conditions with several branches.
03
Repeating with loops
Iterate over a sequence, use an accumulator, and choose between for and while.
04
Building functions
Define a contract, distinguish return from print, and decompose a problem.
05
Working with text and lists
Iterate, normalize, and filter data without changing the input.
06
Analyzing a trip
Clean a list of speeds, then calculate a measurement count, average, and maximum.

Skills covered

  • · Variables and types
  • · Conditions and booleans
  • · For and while loops
  • · Functions and return values
  • · Strings and lists
  • · Tests and edge cases

Prerequisites

  • · Designed for Python beginners
  • · No installation: notebooks run online
  • · Complete the six notebooks in order