Start writing Python code in 7 days, even with no prior knowledge – including exercises and real projects!
There are 290 pages in total.
Introduction
- Why learn Python
- Who is this book for?
Day 1: Getting Started with Python and Essential Tools
- Installing Python and an IDE
- Writing your first code: "Hello, World!"
- Using the basic math module
- Exercises: Editing text and calculating
Day 2: Variables and Basic Calculations
- Variables and Data Types
- Calculating (+, -, *, /)
- Using the random module to generate random numbers
- Exercises: A Simple Calculator
Day 3: Making Conditional Decisions
- If, Else, Elif
- Using Conditions in Real Life
- Using the datetime module to Check Dates
- Exercises: Guessing Game
Day 4: Iterating with Loops
- For Loops and While Loops
- Using Loops with random
- Exercises: Multiplication Tables
Day 5: Recursive Functions
- Creating and Calling Functions
- Functions with the math module
- Exercises: Grade Calculation Functions
Day 6: Handling Errors
- Try, Except
- Using the time module to Delay
- Exercises: Improved calculator
Day 7: Final project - To-Do List
- Summarize all skills
- Add time to task with datetime
- Exercise: Add delete task feature
End of book tips
- Where to learn next
- Interesting modules for the future
- Encouragement for readers
(Selling Points)
100% Beginner-Friendly: Don't be afraid of confusion, detailed explanation from installation to project
Finish in 7 days: Clear learning plan, spend only a little time each day to understand Python
Practical: Includes modules such as random, math, and datetime that make coding fun and useful
To-Do List Project: Practice with practical projects, see results immediately
Target audience
Students who want to learn to code
Beginners who are interested in Python for work (e.g. Data Analysis, Automation)
Creators who want to try creating small projects