# !/usr/bin/py thon
a = 20
b = 20
if (a is b):
print “Line 1 – a and b have same
identity”
else:
print “Line 1 – a and b do not have
same identity”
if (id(a) = = id(b)):
print “Line 2 – a and b have
same identity”
else:
Answers
Answered by
1
What will be the output of the following code : [CBSE Text Book]
a = 3 – 4 + 10 b = 5 * 6 c = 7.0/8.0
Answer:
Print “These are the values a, b, c.
These are the values : 9300.0.
hope you have a good answer
Answered by
1
What will be the output of the following code : [CBSE Text Book]
a = 3 – 4 + 10 b = 5 * 6 c = 7.0/8.0
Answer:
Print “These are the values a, b, c.
These are the values : 9300.0.
hope you have a good answer ❤❤❤❤❤
/> aarrt/>
Similar questions