python Flashcards

1
Q

what data type is this? “bababooey”

A

string

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

what data type is this?”69420”

A

integer

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

what data type is this?”3.1415”

A

float/real

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

what data type is this?” true/false”

A

boolian

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

what type of iteration stops?

A

for iteration

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

what type of iteration goes on forever?

A

while iteration

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

what does iteration mean?

A

loops

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

in python, what does adding a hash(#) do

A

its a comment and does nothing to the actual code

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

what are the two windows in python

A

shell window and programming window

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

what does print do?

A

shows what is in the brackets on the shell window

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