Keywords in python Flashcards
1
Q
and
A
a logical operator
2
Q
as
A
used to create an alias/alternative name
3
Q
assert
A
used for debugging
4
Q
break
A
break out a loop
5
Q
class
A
used to define a class
6
Q
continue
A
skip the next iteration of a loop
7
Q
def
A
it is used to define a function
8
Q
del
A
used to delete an object
9
Q
elif / else
A
conditional statements
10
Q
except
A
try-except is used to handle these errors
11
Q
false
A
expression that will result in not being true
12
Q
finally
A
used with exceptions
13
Q
for
A
create loop
14
Q
from
A
import specific parts of a module
15
Q
global
A
declare a global variable