subject

You defined a book data type. class book:
title = ''
author = ''
pages = 0

Then, you created an instance of your book.

myBook = book()

Which statement assigns a value to the title?

title = 'To Kill a Mockingbird'
myBook. title('To Kill a Mockingbird')
myBook. title = 'To Kill a Mockingbird'
myBook. book. title = myBook. title = 'To Kill a Mockingbird'

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 19:20
Number of megabytes of ram in a computer. qualitative or quantitative? because
Answers: 3
question
Computers and Technology, 22.06.2019 10:20
Shown below is the start of a coding region within the fist exon of a gene. 5'--3' 3'--5' how many cas9 pam sequences are present?
Answers: 1
question
Computers and Technology, 22.06.2019 11:30
What does a cascading style sheet resolve a conflict over rules for an element? a. the rule affecting the most content wins b. the rule affecting the most content loses c. the rule with the most specific selector loses d. the rule with the most specific selector wins
Answers: 2
question
Computers and Technology, 22.06.2019 16:10
Drag each label to the correct location on the imagelist the do’s and don’ts of safeguarding your password.keep yourself loggedin when you leave your computer.don’t write your password down and leave it whereothers can find it.share your password with your friends.each time you visit a website,retain the cookies on your computer.use a long password with mixed characters.
Answers: 1
You know the right answer?
You defined a book data type. class book:
title = ''
author = ''
pages = 0
<...
Questions
question
Mathematics, 12.04.2021 20:10
Questions on the website: 13722363