
- Python Basic Tutorial
- Python - Home
- Python - Overview
- Python - Environment Setup
- Python - Basic Syntax
- Python - Comments
- Python - Variables
- Python - Data Types
- Python - Operators
- Python - Decision Making
- Python - Loops
- Python - Numbers
- Python - Strings
- Python - Lists
- Python - Tuples
- Python - Dictionary
- Python - Date & Time
- Python - Functions
- Python - Modules
- Python - Files I/O
- Python - Exceptions
What are Reserved Words in Python?
The following list shows the Python keywords. These are reserved words and you cannot use them as constant or variable or any other identifier names. All the Python keywords contain lowercase letters only.
and | exec | not |
assert | finally | or |
break | for | pass |
class | from | |
continue | global | raise |
def | if | return |
del | import | try |
elif | in | while |
else | is | with |
except | lambda | yield |
- Related Articles
- What are Reserved Words in JavaScript?
- What are Reserved Keywords in Python?
- What is the difference between keywords and reserved words in Java?
- What are reserved keywords in C#?
- How can we use the MySQL reserved words as an identifier?
- Will “create table table” work in MySQL since we cannot use reserved words as table name?
- Reserved keywords in C++?
- Is there a way to list all the reserved words in MySQL using the MySQL command-line utility?
- HTML reserved Attribute
- What are the beautiful untranslatable Hindi words?
- Python program to remove words that are common in two Strings
- Print Words Vertically in Python
- Unique Morse Code Words in Python
- Integer to English Words in Python
- Is name a reserved word in MySQL?

Advertisements