Limit search to available items
Book Cover
E-book
Author Elumalai, Aarthi, author

Title Introduction to Python for kids : learn Python the fun way by completing activities and solving puzzles / Aarthi Elumalai
Published [Berkeley] : Apress, [2021]
©2021

Copies

Description 1 online resource (563 pages) : illustrations
Contents Intro -- Table of Contents -- About the Author -- About the Technical Reviewer -- Introduction -- Chapter 1: Did You Know? -- What is programming? -- Why should your kids learn to code? -- Programming is like Math -- Coding improves logical thinking and creativity -- Coding is the future -- Why Python? -- Python is easy -- It can do a lot of things -- Python is fun! -- Games! -- Graphics and animation -- Websites -- Apps -- Getting the most out of this book -- Summary -- Chapter 2: Let's Install Python! -- Speak the computer's language -- Get started -- install Python
Installing Python on a Windows computer -- Download Python -- Install Python -- Installing Python on a Mac device -- Download Python -- Install Python -- Summary -- Chapter 3: Your First Python Program -- Creating and running programs in Python -- Python interactive mode (Python Shell) -- Your Shell can do Math -- Print with Python -- IDLE script mode -- Python activity: Print your name (and some more) -- Summary -- Chapter 4: Python Loves Numbers -- Numbers in Python -- Store your numbers -- Comments -- Your numbers come in different forms -- Integers -- Floating-point numbers -- Complex numbers
Type conversion between numbers -- Mini project -- Do you understand numbers? -- Summary -- Chapter 5: Let's Play with Our Numbers! -- Get your numbers out to play -- Basic Math operations -- Special Math operations in Python -- Assignment operations -- What comes first? -- Cool stuff with numbers -- Floor and ceiling of a number -- Power and square root -- Factorial of a number -- Sin, cos, tan, and more -- More numerical operations -- Working with random numbers -- Mini project -- multiples of a number -- Summary -- Chapter 6: Drawing Cool Stuff with Turtle -- Let's get started
Make your Turtle move -- Move forward and backward -- Make your turtle change directions -- Mini project -- draw a square -- Mini project -- draw a hexagon -- Shortcuts -- Go to random points on the screen -- Draw a square with goto -- Mini project -- draw a mandala (with just straight lines) -- Summary -- Chapter 7: A Turtle Deep Dive -- Customize your screen -- Customize your graphics -- Shapes without lines -- Circles -- Dots -- Arcs -- More options! -- Draw text on screen -- Mini project -- circle within a square -- Change directions of your drawing -- Mini project -- smiley -- Summary
Chapter 8: Play with Letters and Words -- What are strings? -- Let's create some strings -- I want lines and lines of strings! -- My string has quotes!:O -- Let's join two or more strings -- Concatenation in print() -- Empty string -- Accessing characters in strings -- Negative indices -- Slicing a part of a string -- String methods -- magic with strings! -- Capital and small -- Misc methods -- True? False? -- String formatting -- Getting input from the users (start automation) -- String to int or float conversion -- Mini project -- take Turtle text to the next level!
Summary Get comfortable with Python, the most popular programming language used right now in machine learning and data science. This book is the perfect blend of education and fun for kids 8 years and above looking to learn one of the easiest languages to develop programs with, most everything from websites to desktop apps to games to AI. It will include 4 big projects (or capstone projects): 3 games with Turtle, Tkinter and Pygame and a desktop app with Tkinter The book starts with an overview of basic programming concepts such as variables, numbers and strings, while creating fun, personalized mini projects like Print your Name and Is your mom tipping enough. It then dives right into Turtle, a Python library custom-made for kids, where they'll learn how to draw, animate, automate and eventually make colorful mini projects based on the Python concepts learned. Once they have built a foundation in programming and the Python language, they will learn all about building desktop apps with Tkinter and games with Pygame. There is also an entire chapter dedicated to more fun puzzles and activities that come with a step-by-step solution, and another chapter with cool ideas for more puzzles and a section that gives them advice on where they can go from there. By the end of this book, kids will learn Python from the inside-out while creating projects that they can showcase. They will develop problem-solving skills along with programming skills while doing the puzzles and activities described in the book. You will: Gain a gentle, but thorough introduction into the world of programming and Python Create programs and solve problems with core Python concepts Build mini projects and capstone projects (showcase worthy) with Turtle, Tkinter an Pygame Develop programming skills while doing the puzzles and activities described in the book
Notes Includes index
Print version record
Subject Python (Computer program language) -- Juvenile literature
Computer programming -- Juvenile literature
Computer programming
Python (Computer program language)
Genre/Form Juvenile works
Form Electronic book
ISBN 9781484268124
1484268121