Lesson 6 Flashcards

1
Q

used for writing out whole programs that are saved as files

A

Editor

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

used for running small pieces of code

A

Shell

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

What colors are used in IDLE mode in python

A

purple- built in functions
orange- keywords
green- for all text that is in quotes
blue- output text from when the program runs
red- error messages
black- for all the other text

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

print() function

A

will display text you add as a parameter value in the shell window

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

ways to make a comment

A

, ‘’’, “”

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

rules for writing a program

A

syntax

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

the part inside the parathesis

A

parameter

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