Advertisements
Advertisements
प्रश्न
Write short notes on Tokens.
टीपा लिहा
Advertisements
उत्तर
Python breaks each logical line into a sequence of elementary lexical components known as Tokens. The normal token types are;
- Identifiers
- Keywords
- Operators
- Delimiters
- Literals
Whitespace separation is necessary between tokens, identifiers, or keywords.
shaalaa.com
Tokens
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
APPEARS IN
संबंधित प्रश्न
Which of the following is not a token?
Which operator is also called a Comparative operator?
What is a literal?
Explain the types of literals?
Write short notes on Escape sequences with examples.
What are string literals? Explain.
Discuss in detail Tokens in Python.
Identify the operator that gets the highest precedence while evaluating the given expression:
a + b % c * d - e
Which of the following is a valid java keyword?
The output of the following code is ______.
System.out.println(Math.ceil(6.4)+Math.floor(-1-2));