English, asked by ramdasninaniya189, 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
The__init_with attributes should
be listed first.
open should be capitalized.
Book should not be capitalized.
There should be a self. in front of pages​

Answers

Answered by aryantiwary765
3

Answer:

class_Book():

def_init_(self):

The _init_with attributes should be listed first.

Similar questions