Computer Science
Answer
Keywords are reserved words carrying special meaning and purpose to the language compiler/interpreter. For example, if, elif, etc. are keywords. Identifiers are user defined names for different parts of the program like variables, objects, classes, functions, etc. Identifiers are not reserved. They can have letters, digits and underscore. They must begin with either a letter or underscore. For example, _chk, chess, trail, etc.
Related Questions
What are literals in Python ? How many types of literals are allowed in Python ?
How are floating constants represented in Python ? Give examples to support your answer.
What are tokens in Python ? How many types of tokens are allowed in Python ? Exemplify your answer.
Can nongraphic characters be used in Python ? How ? Give examples to support your answer.