Mind map
Basic Python
Map content
Basic Python
Commands
- Loops
- for i in range(4*): ...code you want to repeat...
- Make sure to tabs after a loop
- *Number of times you want loop to repeat
- Allows you to repeat a series of commands multiple times
- for i in range(4*): ...code you want to repeat...
- Variables and Types
- A variable is something that stores information in a program so that it can be used for later
- A variable has three things: A name; a type and a value
- Simple Commands
- colours
- Put the color you want the turtle's line to be in brackets and speech marks
- color("red")
- backward(100*) *This number is the number that you want to move the turtle backward. This changes depending on how far you want the turtle to go backward.
- right(90*) and left(90*) *This number is the angle that the turtle turns
- forward(100*) *This number is the number that you want to move the turtle forward. This changes depending on how far you want the turtle to go forward
- colours
- Loops
Information
- Description
- Mind Map on Basic Python, created by Jordan Butler on 06/05/2017.
- Created by
- Jordan Butler
- Views
- 0
- Rating