Python Flashcards
Algorithm
a set of instructions or rules to be followed to carry out a task
Interactive Mode
lets you see your results as you type them.
Script Mode
lets you save your program and run it again later.
Syntax
rules and structure of a language.
Variable
a location in memory in which you can temporarily store text or numbers.
Python Syntax
Spelling
No Capitals !!!
Speech marks
Colons
Brackets
= or ==?
Turtle
a set of drawing tools that someone has made for python. We can use it to draw any sort of graphics that we want.
For Loop
usually used when the program knows how many times it needs to repeat a line of code. Every time the code is repeated it is known as an iteration.
What symbol is used to make a comment? (A comment is a way to annotate your code to explain what it is doing)
#
What is python named after?
Television show called Monty Python
What extension must you add to the end of a file when saving?
.xlsx
How do you tell that Python that you are going to use the turtle library?
import turtle