Python for Beginners
A gentle, hands-on first programming book using Python — for people who have never written a line of code — building up one tiny, runnable idea at a time from printing to a finished mini-project. An original Libre.academy course (© Libre.academy, CC BY-SA 4.0).
- Python
- 47 lessons
- ~9 hours
- Free
- by Fishbones
Learn Python for free on Libre Academy with the Python for Beginners course: 47 interactive lessons you complete by writing real code in a built-in editor, graded instantly by hidden tests. No paywall, no sign-up. It's part of the free, open-source desktop app for macOS, Windows and Linux.
What you get
- Hands-on lessons with a real editor and instant, test-graded feedback.
- Free and open source, with no account required to start.
- Works offline in the free desktop app for macOS, Windows and Linux.
- Python runs instantly in the app.
What's inside
- Hello, Python
- Storing Information: Variables
- Numbers and Math
- Words and Text: Strings
- Yes or No: Booleans and Comparisons
- Making Decisions: if / else
- Reusable Code: Functions
- Doing Things Again: Loops
- Lists: Storing Many Things
- Dictionaries: Labeled Boxes
- Putting It Together
- Final
Download to start Python for Beginners → More free Python courses
Helpful reading
Why passive video doesn't make you a programmer · Bring Your Own Book: turning any PDF into a course