subject

What will be the output? class num:
def __init__(self, a);
self. number = a
def_mul__(self, b):
* return self. number + b. number
#main program
numA = num(8)
numB = num(4)
result = numA* numb
print(result)
O4
O 12
O 32
4096


What will be the output?

class num:
def __init__(self, a);
self.number = a
def_mul__(self,b):
* r

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 23:30
A. in packet tracer, only the server-pt device can act as a server. desktop or laptop pcs cannot act as a server. based on your studies so far, explain the client-server model.
Answers: 2
question
Computers and Technology, 24.06.2019 18:30
These factors limit the ability to attach files to e-mail messages. location of sender recipient's ability to open file size of file type of operating system used
Answers: 1
question
Computers and Technology, 24.06.2019 22:30
Telling a computer that is already on to turn again is known as what type of boot?
Answers: 1
question
Computers and Technology, 25.06.2019 08:30
Which of the following terms is described as “the art and design of using text”? a. typography b. elements of design c. typos d. graphic design
Answers: 1
You know the right answer?
What will be the output? class num:
def __init__(self, a);
self. number = a
def_m...
Questions
question
Mathematics, 08.12.2020 18:10
question
Biology, 08.12.2020 18:10
question
Mathematics, 08.12.2020 18:10
question
Mathematics, 08.12.2020 18:10
Questions on the website: 13722367