Courses
Sign inSign up

Thinking in Python

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

20 Lessons260 Exercises

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

Up next

Programming with Functions

Master the fundamentals of writing modular code -- key to building scalable software.

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

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!