| Report*: If you find any mistake, please inform us for correction.Click Here |
1.) print([]==False) |
|
|
|
|
2.) a=[1,2,3] print(3 in a) |
|
|
|
|
3.) print(2**3**2) |
|
|
|
|
4.) x=10
def test():
x=20
test()
print(x) |
|
|
|
|
5.) print(True + True + False) |
|
|
|
|
6.) x = "10"
y = 5
print(x * y) |
|
|
|
|
7.) print(10 > 5 > 2) |
|
|
|
|
8.) print(bool("False")) |
|
|
|
|
9.) print("Python"[::-1]) |
|
|
|
|
10.) print(5 // 2, 5 / 2) |
|
|
|
|
| Note: * symbol denotes important question. |
|