Bite-Size Python
eBook - ePub

Bite-Size Python

An Introduction to Python Programming

April Speight

Share book
  1. English
  2. ePUB (mobile friendly)
  3. Available on iOS & Android
eBook - ePub

Bite-Size Python

An Introduction to Python Programming

April Speight

Book details
Book preview
Table of contents
Citations

About This Book

Introduce children to the popular Python programming language through relatable examples and fun projects!

Python has now surpassed Java as the most commonly used programming language. As the language rises in popularity, this complete guide can teach basic Python concepts to kids with its simple, friendly format. Bite-Size Python: An Introduction to Python Programming provides children with a foundation in the Python language. This unique book shares knowledge through easy-to-understand examples, fast exercises, and fun projects!

As children learn, their parents, caregivers, and instructors can also join in their discoveries. Bite-Size Python is ideal for those who are new to programming, giving kids ages 9 and up a beginners' approach to learning one of the most important programming languages.

  • Gives an overview of Python
  • Provides exciting programming projects
  • Offers instruction on how to download and install Python
  • Presents key programming language concepts
  • Simplifies technical definitions

With this playful guide to learning Python, readers can try out activities on their computers for a hands-on learning experience. The artwork in Bite-Size Python represents children of various backgrounds, so any child who picks up this book will be empowered to learn and young readers will love showing their projects to friends and family!

Frequently asked questions

How do I cancel my subscription?
Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Do you support text-to-speech?
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Is Bite-Size Python an online PDF/ePUB?
Yes, you can access Bite-Size Python by April Speight in PDF and/or ePUB format, as well as other popular books in Computer Science & Programming in Python. We have over one million books available in our catalogue for you to explore.

Information

Publisher
Wiley
Year
2020
ISBN
9781119643821
Edition
1

1
What Is Python?

Welcome to the world of Python programming! By opening this book, you've opened your world to infinite possibilities in creating with code. Python is a beginner-friendly programming language, and its structure is often compared to the English language.
So, what can you do with Python? Python can be used to instruct robots how to behave or to give commands to artificial intelligence (AI) assistants. With Python, you can automate everyday processes, such as receiving daily reminders to walk the dog or sending a weekly e-newsletter to the community. You can use it to create a blog, build a social media app like Instagram, or even make your own adventure games. In addition, learning Python is the stepping-stone to exploring advanced concepts in web development, data integration with application programming interfaces (APIs), blockchain technology, data science, and AI (such as computer vision, machine learning, and natural language processing to name a few). The possibilities are endless!

How Is This Book Formatted?

This book was written with the true beginner in mind. Never written a line of code in your life? No problem! This book will get you started with the basics of programming to help you gain a solid foundation for Python.
The chapters in this book are written to build upon each other. If you have never written Python code, consider reading the chapters in this book in the order in which they are presented. The following sections explain what you can expect to find in each chapter.

Syntax

Syntax represents a set of rules to follow when writing code. Whenever syntax is introduced for a new concept, the words you should change are shown in italics.

Code Blocks

Throughout this book, you will be introduced to code examples in a code block. Whenever a code block is presented, the code will appear as such:
>>> print('Welcome to the world of Python!')
Welcome to the world of Python!
You are welcome to copy the code as written in the code block into the code editor to try the examples. In addition, you may also notice that some of the words in the code block are written in color. This is known as syntax highlighting. Syntax highlighting is a helpful feature designed to help you keep track of the syntax elements within your code.

Checkpoints

Checkpoints throughout each chapter help you confirm that you understand the material presented and give you the confidence to continue learning. Checkpoints are presented in quiz format and may consist of multiple-choice questions, matching, or fill-in-the-blank questions. You can find all the answers for the checkpoints in the appendix, “Checkpoint Answers.”

Projects

As you complete the chapters in this book, you will have the opportunity to practice your skills with a project. Each project requires you to write your own Python program. A program is a collection of commands within a file that will be run to complete a task. Projects are designed to enable you to use the knowledge you gained in the current and previous chapters. A detailed walk-through of how to complete each project is provided as well. You can find the code for all project files on the Wiley website at www.wiley.com/go/bitesizepython.
You are encouraged to use the projects in this book to build even greater Python programs. Once you start to develop a better understanding of how to use Python, you will find yourself motivated to build. Use the projects in this book as guidance to help bring your ideas to life!
Illustration depicting the preparedness to code with Python and also instructions to install the latest version of the language.

2
Install Python

So, you're probably saying to yourself, “Python sounds so cool—I'm ready to code!” Before you can do anything with Python on your computer, you must install the latest version of the language. Ready to get started? Let's go!

Download Python

Here are the instructions to download Python depending on your platform.

Windows Platform

If you're using a computer that runs Windows, you can download Python from the Microsoft Store. In the search bar, enter Python and select the latest version of the language.
Screenshot displaying the Python 3.7 version in the Microsoft Store Search bar when using  Windows, to download Python from the Microsoft Store.
Additional information about the language is provided in the Overview section. If you're unsure about whether your computer meets the requirements to install Python, check...

Table of contents