Start Here
Learn Python
Python Tutorials →
In-depth articles and video courses
Learning Paths →
Guided study plans for accelerated learning
Quizzes →
Check your learning progress
Browse Topics →
Focus on a specific area or skill level
Community Chat →
Learn with other Pythonistas
Office Hours →
Live Q&A; calls with Python experts
Podcast →
Hear what’s new in the world of Python
Books →
Round out your knowledge and learn offline
Unlock All Content →
More
Learner Stories
Python Newsletter
Python Job Board
Meet the Team
Become a Tutorial Writer
Become a Video Instructor
Search
/
Join
Sign‑In
Python Keywords: An Introduction
by
Chad Hansen
basics
python
Mark as Completed
Share
Share
Email
Table of Contents
Python Keywords
How to Identify Python Keywords
Use an IDE With Syntax Highlighting
Use Code in a REPL to Check Keywords
Look for a SyntaxError
Python Keywords and Their Usage
Value Keywords: True, False, None
Operator Keywords: and, or, not, in, is
Control Flow Keywords: if, elif, else
Iteration Keywords: for, while, break, continue, else
Structure Keywords: def, class, with, as, pass, lambda