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.
APPEARS IN
संबंधित प्रश्न
Which operator is also called a Comparative operator?
Which of the following is not a logical operator?
What are the different operators that can be used in Python?
What is a literal?
Write short notes on the Arithmetic operator with examples.
Explain the Ternary operator with examples.
What are string literals? Explain.
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?
Evaluate the given expression when the value of a=2 and b=3
b*=a++-++b+ ++a;
System.out.println("a="+a);
System.out.println("b="+b);