Computer Science, asked by sharvaryshirsat, 1 year ago

what is meant by token? name the tokens available in python

Answers

Answered by jannu7
18
This module provides constants which represent the numeric values of leaf nodes of the parse tree (terminal tokens). Refer to the file Grammar/Grammar in the Python distribution for the definitions of the names in the context of the language grammar. ... The token constants are:token.
---hope you like the answer:::
Answered by Anonymous
21

Tokens :- Tokens are the smallest unit of any programming language.

various token are :-

  • Identifier
  • keyword
  • Literals

Identifier:- it define name of data type, function etc.

Keyword:- Reserved or Predefined word

Literals:- Constants that not Change during program run.

Similar questions