Python tokens ?

Tokens are the smallest individual unit of a program. One or more characters are grouped in sequence to form meaningful words, these words are called tokens.

Tokens in python language consists of :-

  1. Keywords
  2. Identifiers
  3. Constants
  4. Operators
  5. Special Symbols

Note:- All statements and instructions in a program are built with tokens.