Computer Science
Which of the following literals has True truth-value?
- 0.000001
- 'None'
- 0
- [ ]
- False
- True
- 1
- 33
- None
- 0.0
Python Data Handling
8 Likes
Answer
0.000001
'None'
True
1
33
Answered By
1 Like
Related Questions
In the Python statement x =a + 5 - b : a + 5 - b is .......... .
What will be the value of y after following code fragment is executed ?
x = 10.0 y = (x < 100.0) and x >= 10
What will the following code result as?
import math x = 100 print ( x > 0 and math.sqrt( x ) )
Which of the following operators has the lowest precedence?