Computer Science, asked by syedshakashif, 3 months ago

a,b,c=[1,2],[1,2],[1,2]
Print(a==b)
Print(a is b)

Answers

Answered by allysia
1

Answer:

Error until you change Print to print.

If you did,

True

False

Explanation:

  • print(a==b) will return True since a = b.
  • print(a is b) will return False since the variable's memory locations are different,

Similar questions