What is the output of the following code ?
print(0.3 - (0.1 + 0.2))
What is the output of the following code ?
print(~7, ~~7, ~~~7)
Which of the following is incorrect syntax ?
What is the output of the following code ?
print(78 - 24 % 56)
What is the output of the following code ?
print(float(44 // 7 + 7 % 3))
What is the output of the following code ?
print(18.00/(8+7.0))
Which of the following has lower precedence ?
+, % ,not, >>,and, is, //, in
What is the output of the following code ?
print(6 << 3 - 2)
Which of the following represents a membership operator ?
What is the output of the following code ?
x = y = z = 10, 20, "amazon"
print(x, y, z)