Keywords in Python Programming Language

In programming languages, keywords are reserved names which have special meanings, thus allowing a program to specify commands, parameters, etc. Can you name all keywords in the Python programming language?
Updated to Python version 3.10
Soft keywords are included in blue blackground cells
Quiz by jpedrocm
Rate:
Last updated: July 16, 2022
First submittedJune 28, 2020
Times taken770
Average score40.5%
Rating4.67
Report this quizReport
4:00
Enter keyword here:
0
 / 37 guessed
The quiz is paused. You have remaining.
Scoring
You scored / = %
This beats or equals % of test takers also scored 100%
The average score is
Your high score is
Your fastest time is
Keep scrolling down for answers and more stats ...
Initial
Keyword
A
and
as
assert
async
await
B
break
C
case
class
continue
Initial
Keyword
D
def
del
E
elif
else
except
F
False
finally
for
from
Initial
Keyword
G
global
I
if
import
in
is
L
lambda
M
match
N
None
nonlocal
not
Initial
Keyword
O
or
P
pass
R
raise
return
T
True
try
W
while
with
Y
yield
+1
Level 38
Mar 12, 2022
True, False and None are not keywords, they are built-in objects in the global namespace. There are other such objects (NotImplemented, Ellipsis, integers), but none of them should be in this quiz.
+1
Level 58
Mar 12, 2022
Yes, those are keywords. Please, check the official Python 3.9 documentation, which is posted in the caveats. If you still do not agree, you can make a case with their developers and maintainers to change this definition. Best regards.
+1
Level 49
Jul 15, 2022
This quiz needs to be updated: "match" and "case" are now "soft keywords" in Python
+1
Level 58
Jul 16, 2022
Thanks for the suggestion, I'm updating it