Interactive course ~2 hours

Python Refresher

Remember everything about Python in 2 hours. Each section has a quick summary of the key concepts followed by hands-on exercises with a real Python editor — code runs directly in your browser.

Quick Reference

  • Python is dynamically typed — no need to declare types
  • str, int, float, bool, None are the basic types
  • f-strings: f"Hello {name}" for formatted output
  • type() tells you what type a variable is
  • Multiple assignment: a, b, c = 1, 2, 3

Exercise 1: Variables and f-strings

Create variables for your name and age, then print a greeting using an f-string.

Loading editor...

Exercise 2: Type checking

Check and print the type of each variable.

Loading editor...