Python for Beginners
Start programming with clear Python examples and useful small projects.
Sign in to track your learning progress.
Start programming with clear Python examples and useful small projects.
Sign in to track your learning progress.
Learn variables, functions, collections, files, and testing by building a set of approachable command-line tools. Each lesson adds one durable programming habit.
2 Modules · 6 Lessons · 180 Minutes Total
Learn syntax, data types, conditional branching, and loops.
Work with strings, integers, floats, booleans, and dynamic type conversion.
Master `if/elif/else` decisions, `for` loops over sequences, and `while` loop conditions.
Write reusable functions with parameter defaults, keyword arguments, and docstrings.
Organize data into structures, interact with files, and write unit tests.
Store and manipulate collections using list comprehension and dictionary lookups.
Safely open, read, parse, and write JSON and CSV files using python context managers.
Write assertions and test cases to automatically verify your functions work as expected.
Build a command-line application that logs daily tasks/expenses, saves records to JSON files, calculates summaries, and includes automated unit tests.
Course Author & Industry Expert
Ravi Shah is a passionate Software Educator who has introduced over 50,000 students to Python programming.
We guide you step-by-step through installing free tools: Python 3.11 and VS Code.