Live quiz

python-programing - Part 24

Question 1 of 25 Hints left: 3
Q1

What will be the output of the following Python code? class Count: def __init__(self, count = 0): self.__count = count c1 = Count(2) c2 = Count(2) print(id(c1) == id(c2), end = " ") s1 = "Good" s2 = "Good" print(id(s1) == id(s2))

  • A
  • B
  • C
  • D