Move from zero knowledge of programming to comfortably writing small to medium-sized programs in Python. Fully updated for Python 3, with code and examples throughout, the book explains Python coding with an accessible, step-by-step approach designed to bring you comfortably into the world of software development.
Real–world analogies make the material understandable, with a wide variety of well-documented examples to illustrate each concept. Along the way, you’ll develop short programs through a series of coding challenges that reinforce the content of the chapters.
Learn to Program with Python 3 guides you with material developed in the author's university computer science courses. The author's conversational style feels like you're working with a personal tutor. All material is thoughtfully laid out, each lesson building on previous ones.
What You'll Learn
- Understand programming basics with Python, based on material developed in the author's college courses
- Learn core concepts: variables, functions, conditionals, loops, lists, strings, and more
- Explore example programs including simple games you can program and customize
- Build modules to reuse your own code
Who This Book Is For
This book assumes no prior programming experience, and would be appropriate as text for a high school or college introduction to computer science.
Table of Contents
Chapter 1: Getting Started
Chapter 2: Variables and Assignment Statements
Chapter 3: Built-in Functions
Chapter 4: User-Defined Functions
Chapter 5: if, else, and elif Statements
Chapter 6: Loops
Chapter 7: Lists
Chapter 8: Strings
Chapter 9: File Input/Output
Chapter 10: Internet Data
Chapter 11: Data Structures
Chapter 12: Where to Go from Here