What are keywords in Python?

Questions & AnswersCategory: PythonWhat are keywords in Python?
Geek Boy Staff asked 2 years ago

What are keywords in Python?
a. Keywords are all the keys of the dictionary.
b. Keywords are used to define Python syntax and structure, and we can use them as variable names or function names.
c. Keywords are Python reserved words. We cannot use the keyword as a variable name, function name, or any other identifier. They are used to define Python syntax and structure.

1 Answers
Lokesh Kumar Staff answered 2 years ago

c. Keywords are Python reserved words. We cannot use the keyword as a variable name, function name, or any other identifier. They are used to define Python syntax and structure.