Computer Science, asked by ritikakoshti22, 6 months ago

What is meant by token ? Name th
tokens available in Python.​

Answers

Answered by Anonymous
0

Answer:

Tokens. Python breaks each logical line into a sequence of elementary lexical components known as tokens. Each token corresponds to a substring of the logical line. The normal token types are identifiers, keywords, operators, delimiters, and literals, as covered in the following sections.

Explanation:

follow me and mark as brainlist

Answered by mejeny
0

The smallest individual unit in a program is known as a token. There are five types of tokens allowed in Python. They are :

Keywords : for, del, elif, else etc.

Identifiers : Variable names like balance, class names like Vehicle etc

Literals : String, Numeric, Boolean like ‘abcd’, None etc

Operators : Unary, Binary, Bitwise like ‘+’, ‘&’, ‘^’ etc

Punctuators : Symbols like ‘#’, ‘(‘, ‘[‘, ‘=’ etc.

Similar questions