Python 1 Flashcards

1
Q

variable

A

allows you to store data in the program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

comment

A

note in the code for the programmer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

input

A

something the user types in

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

print

A

prints anything after this command to the screen

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

debug

A

solve issues with code

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

triple speech marks

A

for long sentences or paragraphs of text

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

from

A

tells the program which library to import from

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

import

A

adds functionality from a library

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

sleep

A

a pause in seconds

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

string

A

letter or characters that are printed in the program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

IDLE

A

used to write and compile Python code

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

library

A

gives you access to other Python features. An example is import random or from time import sleep

How well did you know this?
1
Not at all
2
3
4
5
Perfectly