201k views
2 votes
What will be the output? need answer fast!

What will be the output? class num: def init_ (self, a): self.number = a def add_ (self, b): return self.number + 2 * b.number # main program numA = num (3) numB = num (2) result = numA + numB print (result) O 5 O 2 O 7 O 3


User Glory
by
6.3k points

1 Answer

2 votes

Answer:

your answer would be 7.0 my guy

Step-by-step explanation:

i took the final

User Arie
by
6.0k points