
Python for Beginners: Full Course from Zero (Build a Bill Splitter)
BuiltByWaqas · 22 lượt xem · 13 thg 11, 2026
Mô tả
Never written a line of code? In 24 minutes you'll install Python and build a real program from scratch: a bill splitter that asks for the bill, the tip and the people, and tells everyone what they pay.
Every concept arrives exactly when the program needs it, and every line of code and every error message on screen comes from a real run of Python 3.13. Along the way you'll predict outputs, spot bugs and pause to try things yourself.
🐍 What you'll learn
print · variables · numbers, text and f-strings · input() · if / elif / else · for and while loops · lists · functions · reading errors and try / except
💻 Install Python
Windows (in the Terminal app): winget install Python.Python.3.13
Mac (with Homebrew): brew install python
Or download the installer from https://www.python.org/downloads/ (on Windows, tick "Add python.exe to PATH")
Check it worked: python --version (on a Mac: python3 --version)
Run a file: python hello.py (on a Mac: python3 hello.py)
⏱ Chapters
0:00 Intro: what you'll build
0:46 Install Python and run your first file
2:42 print and your first program
4:28 Variables
6:23 Numbers, text and f-strings
8:24 input: talk to your program
10:29 if, elif, else
12:50 Loops
15:55 Lists
17:58 Functions
20:53 Errors and try/except
22:21 The finished program + what next
🏁 Final challenge: add a service charge to the bill, or round each share up to a whole dollar. Tell me in the comments how you did it!
What should the next long course be about?
#Python #LearnPyt