Linked e-resources
Details
Table of 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!
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!