Toggle Navigation
Games
Blog
Class PIN
Join for Free
Sign in
Toggle Navigation
Games
PIN
Join for Free
Blog
Pricing
Contact us
Help center
Sign in
Study
HS Python coding vocab
0
%
0
0
0
Back
Restart
code that might raise an exception
try
except
next
do
Oops!
Okay!
Connects 2 expressions and evaluates for true or false
ore
OR
or
Or
Oops!
Okay!
Context manager, defines code to be executed within the context manager's scope.
WITH
WITHIN
with
within
Oops!
Okay!
defines a function without a name and with only 1 statement
Delta
delta
Lambda
lambda
Oops!
Okay!
defines an asynchronous function
async
asynchronous
sync
asynch
Oops!
Okay!
Exits a loop early
break
Stop
BREAK
stop
Oops!
Okay!
used to modify a variable that isn't defined in a function but from a parent scope
local
nonlocal
parent
global
Oops!
Okay!
Used with "import" and "from" to change the name of what is being imported
change
switch
alias
as
Oops!
Okay!
results in a no-op if the expression is truthy or an "AssertionError" if the expression is falsy
error
assert
true
express
Oops!
Okay!
Gives the opposite Boolean value of a variable
not
Other
other
Not
Oops!
Okay!
Used to include a module into your Python program
import
IMPORT
bringin
Bringin
Oops!
Okay!
valid only when used with "def"; exits the function and returns the results
return
BACK
Return
Back
Oops!
Okay!
Boolean statement: opposite of false.
true
True
tru
yes
Oops!
Okay!
raises an exception
raises
top
lifts
raise
Oops!
Okay!
Used to determine if both left and righ operands are truthy or falsy
AND
and
BOTH
both
Oops!
Okay!
Boolan statement, opposite of true
fulse
not
false
False
Oops!
Okay!
Used with "try" to define what happens when specific exceptions are raised
except
go
continue
expand
Oops!
Okay!
Starts a conditional statement if the statement is true.
Then
if
IF
then
Oops!
Okay!
containmennt check, is a element included in the data
in
with
out
included
Oops!
Okay!
Stops the current loop and moves to next step
NEXT
continue
CONTINUE
Next
Oops!
Okay!
defines the point in the function where control is given back to the event loop
event
await
back
stop
Oops!
Okay!
indicates a block intentionally left blank
skip
Skip
pass
Pass
Oops!
Okay!
Used with import to bring in something from a specific module.
from
and
with
next
Oops!
Okay!
Loop word, if conditions that follow are truthy, using this keyword will keep its statement running over and avoer
While
while
When
when
Oops!
Okay!
Denotes blocks of code that should be run when "if" and "elif" statements are falsy
Else
Elsethen
ELSETHEN
else
Oops!
Okay!
returns a "generator" from a function
Yield
yield
YEILD
yeild
Oops!
Okay!
specifies code that should be run no matter what happens in the "try", "except" or "else" blocks
finally
final
last
lastly
Oops!
Okay!
Most common loop, often used with "in"
for
FOR
Loop
loop
Oops!
Okay!
An empty string of code
none
blank
blanck
None
Oops!
Okay!
used to define a function or method of class
def
Define
define
DEF
Oops!
Okay!
used to modify a variable that isn't defined in a function but in a global scope
define
global
modify
scope
Oops!
Okay!
Defines a class in python, powerful in object-oriented programming
Group
group
Class
class
Oops!
Okay!
works like "if" statement but can only be used after an "if" or another of the same statement
Elif
elif
else if
ElseIf
Oops!
Okay!
remove indexes from a list or dictionary, or unsets a variable
delete
remove
del
rid
Oops!
Okay!
Object identity check: determines if 2 objects are exactly the same.
si
IS
Is
is
Oops!
Okay!
Your experience on this site will be improved by allowing cookies.
Allow cookies