What is the output of the following Python code?
a = [1, 2]
b = a
c = [1, 2]
print(a is b, a is c, a == c)- ATrue False True
- BTrue True True
- CFalse False True
- DTrue False False
Correct answer: A
What is the output of the following Python code?
a = [1, 2]
b = a
c = [1, 2]
print(a is b, a is c, a == c)