Python program Flashcards

1
Q

Print someting

A

print ( ‘ ‘ )

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

wait for something to be typed

A

something=raw_input()

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

wait for something to be typed( number )

A

(variable)=int(raw_input ( ) )

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