Leanpub Header

Skip to main content

Python Beginner Workbook

A Practical Workbook for High School Students and Beginner Programmers

Learn Python step by step with a practical workbook designed for absolute beginners. This book combines clear explanations, visual flowcharts, exercises, and hands-on coding projects to help you understand programming from the ground up.

Minimum price

$7.99

$14.99

You pay

$14.99

Author earns

$11.99
$

...Or Buy With Credits!

You can get credits with a paid monthly or annual Reader Membership, or you can buy them here.
PDF
EPUB
About

About

About the Book

Python Beginner Workbook is a hands-on learning guide designed for people who want to learn programming from scratch. Instead of focusing on theory alone, this workbook emphasizes learning by doing. Each section introduces a concept and then reinforces it with exercises and simple coding practice. Inside the book you will find: • Clear explanations of Python fundamentals • Step-by-step programming examples • Visual flowcharts to understand program logic • Practice exercises after each concept • Key programming terms explained in simple language • Beginner-friendly coding projects • A final capstone project to apply everything you learned The workbook is organized into structured learning units that guide you from basic computational thinking to writing your own Python programs. This book is ideal for students, teachers, and self-learners who want a practical introduction to Python programming.

Share this book

Author

About the Author

Fatih ARICA

Fatih Arıca is a computer science teacher with over 10 years of experience teaching programming and computational thinking. He creates beginner-friendly Python learning resources designed for high school students and new programmers.

Contents

Table of Contents

This workbook is organized into 9 progressive learning units that guide beginners from basic computational thinking to building a complete Python project.

Table of Contents

Unit 01 — Problem Solving & Algorithms
  • 1.1 What Is a Problem?
  • 1.2 The Six-Step Method
  • 1.3 Operators & Precedence
  • 1.4 Algorithms & Pseudocode
  • 1.5 Flowcharts
  • 1.6 Debugging
  • 1.7 Worked Examples
  • 1.8 Key Terms & Exercises
Unit 02 — Introduction to Programming
  • 2.1 Programs vs Software
  • 2.2 Language Evolution
  • 2.3 How Python Runs
  • 2.4 Why Python?
  • 2.5 IDLE & VS Code Setup
  • 2.6 Libraries & Modules
  • 2.7 Worked Examples
  • 2.8 Key Terms & Exercises
Unit 03 — Data Types & Variables
  • 3.1 Variables & Constants
  • 3.2 All Five Operator Families
  • 3.3 Primitive Types
  • 3.4 Input, Casting & Type Conversion
  • 3.5 Lists
  • 3.6 Tuples
  • 3.7 Dictionaries
  • 3.8 Sets
  • 3.9 Worked Examples
  • 3.10 Key Terms & Exercises
Unit 04 — Decision & Loop Structures
  • 4.1 if / elif / else
  • 4.2 Nested Conditions
  • 4.3 match-case
  • 4.4 for Loops
  • 4.5 while Loops
  • 4.6 break, continue, pass
  • 4.7 Nested Loops
  • 4.8 List Comprehensions
  • 4.9 Worked Examples
  • 4.10 Key Terms & Exercises
Unit 05 — Functions
  • 5.1 Defining Functions
  • 5.2 Parameters & Arguments
  • 5.3 Return Values
  • 5.4 Variable Scope
  • 5.5 Recursion
  • 5.6 Lambda & Higher-Order Functions
  • 5.7 Worked Examples
  • 5.8 Key Terms & Exercises
Unit 06 — Strings, Dates & Times
  • 6.1 String Fundamentals
  • 6.2 String Methods
  • 6.3 String Formatting
  • 6.4 Regular Expressions
  • 6.5 datetime Module
  • 6.6 Worked Examples
  • 6.7 Key Terms & Exercises
Unit 07 — Error Handling
  • 7.1 Types of Errors
  • 7.2 try / except / else / finally
  • 7.3 Exception Hierarchy
  • 7.4 raise & Custom Exceptions
  • 7.5 finally & with
  • 7.6 Worked Examples
  • 7.7 Key Terms & Exercises
Unit 08 — File Operations
  • 8.1 Reading Text Files
  • 8.2 Writing Text Files
  • 8.3 CSV Files
  • 8.4 JSON Files
  • 8.5 os & pathlib
  • 8.6 Worked Examples
  • 8.7 Key Terms & Exercises
Unit 09 — Capstone Project
  • 9.1 Project Brief
  • 9.2 Data Architecture
  • 9.3 Building Each Feature
  • 9.4 Full Solution
  • 9.5 Testing Your Code
  • 9.6 Extension Challenges
  • 9.7 What Comes Next

Get the free sample chapters

Click the buttons to get the free sample in PDF or EPUB, or read the sample online here

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earned over $14 million writing, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub