Courses
Sign inSign up

Thinking in Python

Build Python programs to develop strong foundations for creating with code.

42 Lessons546 Exercises

Variables

Updating Variables

Printing

Variable Self-Update

Variable Dependency

Level Review

Boolean Expressions

Conditional Statements

Branching Conditionals

Setting Boolean Variables

Testing Programs

Level Review

Combining Boolean Expressions

Storing Boolean Values

Negating Booleans

Organizing Logic

Complex Logic

Level Review

For Loops

Structuring Loops

Loop Variable Dependency

Logic Inside Loops

Complex Dependencies

Level Review

Lists

List Indexing

Looping through Lists

Appending to Lists

Indexing Multiple Lists

Consecutive Indexes

Level Review

While Loops

Structuring While Loops

Compound Loop Conditions

Flags as Loop Conditions

Complex While Loop Logic

Level Review

Exploring Strings

String Operations

Classifying Strings

Level Review

Nesting If Statements

Nesting Mixed Conditionals

Nesting If-Else Statements

Prioritizing Conditions

Level Review

Conditional Chains

Sequencing Logic

Designing Chains

Setting Priority in Chains

Level Review

Up next

Programming with Variables

Supercharge your programming skills with variables and loops.

Jump ahead

Course description

This course will help you learn to express and debug procedural logic in code while building up the habits of mind required to design correct and efficient algorithms and data structures. Through a sequence of cybersecurity-themed programming challenges, you will explore how to translate processes into programs. Control flow tools like variables, conditional statements, and loops are introduced gradually, helping you build the habits of programmatic reasoning from the ground up.


Topics covered

  • Variables
  • Updating Variables
  • Printing
  • Variable Self-Update
  • Variable Dependency
  • Boolean Expressions
  • Conditional Statements
  • Branching Conditionals
  • Setting Boolean Variables
  • Testing Programs
  • Combining Boolean Expressions
  • Storing Boolean Values
  • Negating Booleans
  • Organizing Logic
  • Complex Logic
  • For Loops
  • Structuring Loops
  • Loop Variable Dependency
  • Logic Inside Loops
  • Complex Dependencies
  • Lists
  • List Indexing
  • Looping through Lists
  • Appending to Lists
  • Indexing Multiple Lists
  • Consecutive Indexes
  • While Loops
  • Structuring While Loops
  • Compound Loop Conditions
  • Flags as Loop Conditions
  • Complex While Loop Logic

Prerequisites and next steps

This is a great course if you're a beginner to programming, or if you just want a refresher of the core concepts in Python. This course has no prerequisites, so dive right in and enjoy!