54.7k views
4 votes
Multiple

Choice
What will be the output?
class num:
def __init__(self,a):
self. number = a
def_mul__(self, b)
return self.number + b.number
numA = num(5)
numB = num(10)
product = numA * numb
print(product)
50
O 5
an error statement
15

Multiple Choice What will be the output? class num: def __init__(self,a): self. number-example-1
User Escapedcat
by
3.6k points

1 Answer

1 vote

Answer:

15

Step-by-step explanation:

Edge 2021

Multiple Choice What will be the output? class num: def __init__(self,a): self. number-example-1
User Marjer
by
3.6k points