Computer Science, asked by PranitaKumari, 5 months ago

What is wrong with the following code:

class Book():
def open(self):
print("You opened the book")

def __init__(self):
self.pages = 347

a)The __init__ with attributes should be listed first.

b)open should be capitalized.

c)Book should not be capitalized.

d(There should be a self. in front of pages
see​

Answers

Answered by btprakruthi
0

Answer:

sorry bro /sis this question is not correctly

Similar questions