Select the correct output of the following Python code from the given options.
class St:
stm = 'Y' stm = 'X' def __init__(self, r): self.r = r def setdd(self, dd): self.dd = dd def getdd(self): return self.dd a = St(101) a.setdd("Y, UP") a.setdd("X") print(a.getdd()) ">
Correct Answer:
X
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Python MCQ Questions