A is correct
class Super:
def make(self):
return 0
def doit(self):
return self.make()
class Sub_A(Super):
def make(self):
return 1
class Sub_B(Super):
pass
a = Sub_A()
b = Sub_B ()
print(a.doit() + b.doit())
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Dave304409
4 months, 4 weeks agoDKAT2023
5 months ago