5. What will be the output produced by following statements? State reasons.
a. bool(0.0')
b. (17%5.0) is (17%5.0)
Answers
Answered by
0
Answer:
a, b, c = 1 , 1 , 2
d = a + b
e = 1.0
f = 1.0
g = 2.0
h = e + f
print(c == d)
print(c is d)
print(g == h)
print(g is h)
Answered by
0
ANSWER : a, b, c = 1 , 1 , 2
d = a + b
e = 1.0
f = 1.0
g = 2.0
h = e + f
print(c == d)
print(c is d)
print(g == h)
print(g is h)
Similar questions
English,
3 months ago
Computer Science,
3 months ago
Math,
7 months ago
Political Science,
7 months ago
Math,
11 months ago
English,
11 months ago
Physics,
11 months ago