Computer Science, asked by whitedevil18, 9 months ago

2. Med Cd5 wuP
3. Find the error in the following program to get the given output?
class Fruits:
def __init_(self, fl, f2):
self.fl=fl
self.f2= 2
def display(self):
print("Fruit 1 = %s, Fruit 2 = %s" %(self.fl, self.f2))
F = Fruits ('Apple', 'Mango')
del F.display
F.display
Output
Fruit 1 = Apple, Fruit 2 = Mango​

Answers

Answered by akram8449
1

Answer:

what is the question bro can't understand??...

Similar questions
Math, 9 months ago