223k views
1 vote
You defined a book data type.

class book:
title = ''
author = ''
pages = 0
Which statement creates an instance of your book?


myBook.myBook = book()

myBook = new book()

myBook = book

myBook = book()

User Yonisha
by
4.5k points

2 Answers

2 votes

Answer:

myBook=book()

Step-by-step explanation:

took test

User Lilli
by
4.7k points
5 votes

Answer:

myBook = book()

Step-by-step explanation:

Correct answer edge 2020

User Redu
by
4.9k points