Python Programming
11 interactive chapters taking you from your very first line of Python to building a complete quiz game. Edit and run code directly in your browser.
๐ Most of this library is for SmartBean students. Every lesson includes full access, open for two weeks after your last lesson. Items marked Free sample are open to everyone.
How to get accessWhat is Programming?
Introduction to programming concepts and writing your first Python code
Variables & Data Types
Storing and manipulating data with variables
Input & Output
Getting user input and displaying results
If Statements
Making decisions with conditional logic
Loops
Repeating code with for and while loops
Functions
Organising code into reusable blocks
Lists
Working with ordered collections of data
Dictionaries
Key-value data storage and lookup
String Manipulation
Processing and transforming text
Error Handling
Try/except and handling runtime errors
Capstone: Quiz Game
Build a complete quiz game using everything you have learnt