Python 2 Flashcards
1
Q
A
prints anything after this command to the screen
2
Q
input
A
something the user types in
3
Q
double equals
A
checks two things are the same
4
Q
if
A
makes the program choose what happens next
5
Q
variable
A
allows you to store data in the program
6
Q
indent
A
makes a line of code start further right than the one before
7
Q
sleep
A
a pause in seconds
8
Q
speech marks
A
are used to go round a string
9
Q
colon
A
double dot at the end of a choice
10
Q
user
A
person running the program
11
Q
elif
A
gives the user more than two options when using an if/else statement
12
Q
while True
A
this command will loop a part of a program forever (infinite loop)