Home / MCQ Bank / Computer
Computer Strings In Python Difficulty: Medium

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))

Select the correct option to test your answer:

More Computer Questions

What was the first general-purpose electronic computer? What is an SQL virtual table that is constructed from other tables? How do you restore a saved coordinate system? Human beings are referred to as Homosapiens. Which device is called Silico sapiens? Which is more general than a matrix, in that different columns can have different modes?