Computer Science, asked by shubhi7058, 1 year ago

5. What will be output produced by following
a, b, c = 1, 1, 2
d = a + b
e = 1.0
f = 1.0
8 = 2.0
h = e + f
print(c == d)
print(c is d)
print(g == h)
print(g is h)​

Answers

Answered by charlie1505
6

Answer:

Output

At first the value of c=2

After assignment c=3

H=2.0

as g==h

h=2.0

(8=2.0.... This statement is wrong)

Similar questions