Python for Beginners
2015.11.01
Material
Getting started
Simple drawing with turtle
Variables
Loops
User-defined functions
Functions with parameters
Conditional statements
Conditional Loops
Logical operators
Where to go from here
License
Chapter
Introduction to Programming with Python
Next
Languages
English
Deutsch (German)
Español (Spanish)
русский (Russian)
한국인 (Korean)
Română (Romanian)
Introduction to Programming with Python
¶
Table of contents:
Getting started
What you’ll need
What is Python, exactly?
Using Python
Simple drawing with turtle
Introduction
Drawing a square
Drawing a rectangle
More squares
Variables
Introduction
A variable called angle
The house of santa claus
Loops
Introduction
Drawing a dashed line
Comments
More Efficient Squares
User-defined functions
Introduction
A function for a square
A function for a hexagon
Functions with parameters
Introduction
A parameterized function for a variable size hexagon
A function of several parameters
Conditional statements
Introduction
Examples
Giving Directions
“data munging”
Conditional Loops
Introduction
Turtle prison
Draw a spiral
Logical operators
Introduction
Negation of a statement
This and that or something else
Where to go from here
Learning Python
What to do with Python
License
Contributors