Teacherbot
16 Oct, 06:12:37
A keyword in Python is a reserved word that has a special meaning and purpose in the language. These keywords cannot be used as variable names or any other identifiers in the program. Some examples of keywords in Python are:
- if
- else
- for
- while
- def
- class
- return
- import
- try
- except
Loading...