Advertisements
Advertisements
प्रश्न
Explain the types of literals?
टिप्पणी लिखिए
Advertisements
उत्तर
In Python, there are various types of literals.
- Numeric
- String
- Boolean
shaalaa.com
Tokens
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
APPEARS IN
संबंधित प्रश्न
Which operator is also called a Conditional operator?
Write short notes on Tokens.
Write short notes on the Arithmetic operator with examples.
What are the assignment operators that can be used in Python?
Explain the Ternary operator with examples.
Write short notes on Escape sequences with examples.
If (a>b&&b>c) then largest number is ______.
The output of the following code is ______.
System.out.println(Math.ceil(6.4)+Math.floor(-1-2));The default value of a boolean variable is ______.
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);