,Python Basics: A Practical Introduction
to Python 3
Real Python
,Python Basics: A Practical Introduction to Python 3
Revised and Updated 4th Edition
David Amos, Dan Bader, Joanna Jablonski, Fletcher Heisler
Copyright © Real Python (realpython.com), 2012–2020
For online information and ordering of this and other books by Real
Python, please visit realpython.com. For more information, please
contact us at .
ISBN: 9781775093329 (paperback)
ISBN: 9781775093336 (electronic)
Cover design by Aldren Santos
Additional editing and proofreading by Jacob Schmitt
“Python” and the Python logos are trademarks or registered trade-
marks of the Python Software Foundation, used by Real Python with
permission from the Foundation.
Thank you for downloading this ebook. This ebook is licensed for your
personal enjoyment only. This ebook may not be resold or given away
to other people. If you would like to share this book with another per-
son, please purchase an additional copy for each recipient. If you’re
reading this book and did not purchase it, or if it was not purchased for
your use only, then please return to realpython.com/pybasics-book
and purchase your own copy. Thank you for respecting the hard work
behind this book.
, This is a sample from “Python Basics: A Practical
Introduction to Python 3”
With the full version of the book you get a complete Python curriculum
to go all the way from beginner to intermediate-level. Every step along
the way is explained and illustrated with short & clear code samples.
Coding exercises within each chapter and our interactive quizzes help
fast-track your progress and ensure you always know what to focus on
next.
Become a fluent Pythonista and gain programming knowledge you
can apply in the real-world, today:
If you enjoyed the sample chapters you can purchase a full
version of the book at realpython.com/pybasics-book
to Python 3
Real Python
,Python Basics: A Practical Introduction to Python 3
Revised and Updated 4th Edition
David Amos, Dan Bader, Joanna Jablonski, Fletcher Heisler
Copyright © Real Python (realpython.com), 2012–2020
For online information and ordering of this and other books by Real
Python, please visit realpython.com. For more information, please
contact us at .
ISBN: 9781775093329 (paperback)
ISBN: 9781775093336 (electronic)
Cover design by Aldren Santos
Additional editing and proofreading by Jacob Schmitt
“Python” and the Python logos are trademarks or registered trade-
marks of the Python Software Foundation, used by Real Python with
permission from the Foundation.
Thank you for downloading this ebook. This ebook is licensed for your
personal enjoyment only. This ebook may not be resold or given away
to other people. If you would like to share this book with another per-
son, please purchase an additional copy for each recipient. If you’re
reading this book and did not purchase it, or if it was not purchased for
your use only, then please return to realpython.com/pybasics-book
and purchase your own copy. Thank you for respecting the hard work
behind this book.
, This is a sample from “Python Basics: A Practical
Introduction to Python 3”
With the full version of the book you get a complete Python curriculum
to go all the way from beginner to intermediate-level. Every step along
the way is explained and illustrated with short & clear code samples.
Coding exercises within each chapter and our interactive quizzes help
fast-track your progress and ensure you always know what to focus on
next.
Become a fluent Pythonista and gain programming knowledge you
can apply in the real-world, today:
If you enjoyed the sample chapters you can purchase a full
version of the book at realpython.com/pybasics-book