No student devices needed. Know more
10 questions
It lets you test if a condition in your code returns True, if not, the program will raise an Error.
ASSERT
ELIF
GLOBAL
IMPORT
It can be used to erase an item at a given index and to remove slices from a list.
RAISE
NONE
DEL
RETURN
It is used in conditional statements (if statements), and decides what to do if the condition is False.
YIELD
RETURN
LAMBDA
ELSE
It is used to end the current iteration in a for loop or a while loop and goes to the next iteration.
GLOBAL
CONTINUE
FINALLY
NONLOCAL
It is used to produce an exception to interrupt the code execution.
RAISE
TRY
WHILE
IF
It is the same as "else if" in other programming languages.
EXCEPT
ELIF
ELSE
FINALLY
It allows you to modify the variable outside of the current scope.
CLASS
WHILE
PASS
GLOBAL
It is used to define a null value or no value at all. It is not the same as 0, False, or an empty string.
NONE
NONLOCAL
RAISE
LAMBDA
This block lets you check some code for errors.
DEL
TRY
CLASS
WHILE
It is used to make code in one module available in another.
ELSE
DEF
BREAK
IMPORT
Explore all questions with a free account