Mindmap
Basic Python
Inhalt der Mindmap
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
Informationen
- Beschreibung
- Mindmap am Basic Python, erstellt von Jordan Butler am 05/06/2017.
- Erstellt von
- Jordan Butler
- Aufrufe
- 0
- Bewertung