Live quiz

python-programing - Part 71

Question 1 of 25 Hints left: 3
Q1

What will be the output of the following Python code? class A: def one(self): return self.two() def two(self): return 'A' class B(A): def two(self): return 'B' obj2=B() print(obj2.two())

  • A
  • B
  • C
  • D