Keywords

Learn about basic keywords in Python.

All programming languages reserve certain words to have a special meaning. These words are called keywords. With keywords, the programmer can issue commands to the compiler or interpreter. They allow you to tell the computer what to do. Without keywords, the computer could not make sense of the seemingly random text in your code file.

Keywords are reserved words. You cannot use them as variable names.

Let’s take an in depth look at the most important keywords. In each row of the following table, you can find the keyword itself, a short description, and an example of its usage.

Boolean keywords

Data values from the data type Boolean.

Keywords: ...

Access this course and 1400+ top-rated courses and projects.