Tokens are the smallest lexical unit of a program. In Python, tokens are categorized into four parts ;
- Keywords
- Identifiers
- Literals
- Operators
Let us discuss them in detail.
Tokens are the smallest lexical unit of a program. In Python, tokens are categorized into four parts ;
Let us discuss them in detail.
Learn | Code | Achieve