MODULE 1 Flashcards

1
Q

refers to the spaces at the beginning of a code line.

A

Indentation

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

instructs Python to pause the program until the user has typed something and pressed Return/Enter.

A

input command

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

are used to store a value, and these values have a data type.

A

Variables

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

reserved words in Python

A

Keywords

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

values mean True or False

A

Boolean

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

integers are whole numbers, can be positive or negative

A

Integers

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

numbers with decimal, can be positive or negative

A

Float

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

get the data type of a variable with this function

A

type function

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

can be used to explain Python code, used to make the code more readable, used to prevent execution when testing code, and can be placed at the end of a line, and Python will ignore the rest of the line.

A

Comments

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