Computer Science, asked by AryanSanger, 7 months ago

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 javeriakhanam2808200
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 avkashray45
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