freeprogrammingbooks.com

Learn Python 3

By Ankit Mahato (2022)

Learn Python 3 book cover

Python has consistently ranked as one of the most widely used programming languages worldwide, holding a dominant position in fields like data science, artificial intelligence, web development, and automation. According to the TIOBE Index, Python continues to lead with over 21% market share in 2026, and it has become the most used language on GitHub, surpassing JavaScript after a decade of leadership. With 45.7% of recruiters actively seeking Python developers, the demand for Python skills remains at an all-time high.

For beginners looking to enter the tech industry or professionals aiming to add a versatile tool to their skillset, Python offers the best balance of readability, practicality, and career opportunity.

About the book

Learn Python 3 by Ankit Mahato is a free and open-source book designed to help readers master the fundamentals of Python programming. Published under a Creative Commons license and available on GitHub, this book takes a straightforward, example-driven approach that makes it easy to follow for complete beginners.

The book covers the core concepts of Python 3 in a logical progression, starting from the very basics — what programming languages are, how to install Python, and how to write your first program — and moving into more advanced territory like functions, modules, file handling, and the Python standard library. Each chapter is built around clear explanations followed by practical code examples that you can run and modify.

This book is ideal for students, self-learners, and anyone who wants a solid foundation in Python without unnecessary complexity. No prior programming experience is required.

What you will learn

Readers will gain a practical understanding of Python 3 programming, including variables and data types, control flow with conditionals and loops, strings, lists, tuples, and dictionaries, error handling and exceptions, file I/O and working with CSV files, functions, modules, and packages, and an introduction to Python’s built-in standard library (math, random, statistics).

Table of contents

  • Introduction
  • Python Fundamentals
  • Variables, Objects & Data Types
  • Input / Output
  • Operators & Expressions
  • Errors & Exception Handling
  • Control Flow
  • Strings
  • List
  • Tuple
  • Dictionary
  • Python Standard Library
  • File Handling
  • User Defined Functions, Modules & Packages

Book details

  • Title: Learn Python 3
  • Author(s): Ankit Mahato
  • Publication year: 2022
  • Publisher: Self-published (open source)
  • Pages: 149
  • PDF size: 2.7 MB
  • Estimated reading time: ~3 h 44 min
  • Level: Beginner
  • Main category: Programming
  • Subcategory: Python
  • Language: English
  • License: CC BY-SA 4.0

More books in: Programming, Python


Legal notice: This book is shared for educational purposes only. The content is distributed under Creative Commons licenses or with explicit permission from the author. FreeProgrammingBooks may host files that comply with their respective licenses.

Want more free books?

Join our channels and receive free books, courses and tech news.