Basic Python
Your first Python course, no experience needed. Learn variables, loops, functions, and build small projects one clear step at a time.
Every lesson runs real code in your browser, checked the moment you submit. No installing anything, no setup, no waiting.
Start Basic Python freeWhat this course covers
- What is a Computer?
- What is Code?
- What is Python?
- Notes to Yourself: Comments
- Your First Code!
- Storing Things
- Numbers & Math
- Type Conversion: Changing Types
- Strings Deep Dive
- True or False
- Asking Questions
- F-Strings: Smart Text
- Making Choices
- Multiple Choices
- Repeat After Me
- Keep Going!
- Loop Control: break & continue
- Lists: Store Many Things
- Working with Lists
- Tuples: Lists That Don't Change
- Sets: No Duplicates Allowed
- Dictionaries: Labeled Data
- Simple Functions
- Math Helpers: The math Module
- Random Fun
- Time: The Time Module
- Files: Save Your Stuff
- Be a Bug Hunter!
- Colorful Code (Drawing)
- Shapes & Patterns
- Pattern Art: Loops That Draw
- Mini Project: Number Guessing
- Mini Project: Rock Paper Scissors
- Emoji Story Maker
- The Tally Counter
- Pocket Money Tracker
- Level Exam
Other courses
Learn to think like a problem-solver before you write a single line of code. Break big …
Level up your Python with comprehensions, lambdas, error handling, files, modules, and …
Master OOP in Python: classes, objects, inheritance, polymorphism, encapsulation, abstr…
Go deeper in Python: decorators, generators, type hints, regex, JSON, SQLite, testing, …
Core CS: arrays, lists, stacks, queues, hash tables, trees, graphs, sorting, searching,…
Build your own 2D games from scratch: the game loop, sprites, movement, collisions, and…
Learn Java from zero, with no programming background needed. Write your first program, …
Learn C++ from zero, with no programming background needed. Start with your first progr…
Learn C from zero, with no programming background needed. The language that Unix, Linux…
Learn JavaScript from scratch: variables, types, loops, functions, arrays and objects, …
Build for the browser: structure pages with HTML, style them with CSS, then use live AP…
Put Python behind the browser: Flask routes, forms, APIs, the requests library, and ful…