1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Lubov Fominskaja [6]
2 years ago
15

Given main() and a base Book class, define a derived class called Encyclopedia. Within the derived Encyclopedia class, define a

printInfo() method that overrides the Book class' printInfo() method by printing not only the title, author, publisher, and publication date, but also the edition and number of volumes.
Ex. If the input is:
The Hobbit J. R. R.
Tolkien
George Allen & Unwin
21 September 1937
The Illustrated Encyclopedia of the Universe
James W. Guthrie Watson-Guptill
2001
2nd
the output is:
Book Information:
Book Title: The Hobbit
Author: J. R. R. Tolkien
Publisher: George Allen & Unwin
Publication Date: 21 September 1937
Book Information:
Book Title: The Illustrated Encyclopedia of the Universe
Author: James W. Guthrie
Publisher: Watson-Guptill
Publication Date: 2001
Edition: 2nd
Number of Volumes: 1
Computers and Technology
1 answer:
alexandr1967 [171]2 years ago
8 0

Answer:

..

Explanation:

i dont really know. I am just answering for the sake of points lol

You might be interested in
Is “Annabelle” a true story? I mean it is fiction right?
Julli [10]
Annabelle is indeed a true story making it fiction
5 0
3 years ago
Read 2 more answers
Write the definition of a function named printpoweroftwostars that receives a non-negative integer n and prints a line consistin
Aleksandr-060686 [28]
To accomplish this without using a loop,
we can use math on a string.

Example:
print("apple" * 8)

Output:
appleappleappleappleappleappleappleapple

In this example,
the multiplication by 8 actually creates 8 copies of the string.

So that's the type of logic we want to apply to our problem.

<span>def powersOfTwo(number):
if number >= 0:
return print("*" * 2**number)
else:
<span>return

Hmm I can't make indentations in this box,
so it's doesn't format correctly.
Hopefully you get the idea though.

We're taking the string containing an asterisk and copying it 2^(number) times.

Beyond that you will need to call the function below.
Test it with some different values.

powersOfTwo(4) should print 2^4 asterisks: ****************</span></span>
4 0
3 years ago
3.6 code practice (edhesive)
Pie

largest = int(input("Enter a number: "))

print("Largest: {}".format(largest))

i = 0

while i < 5:

   num = int(input("Enter a number: "))

   if num > largest:

       largest = num

   print("Largest: {}".format(largest))

   i += 1

I hope this helps!

4 0
2 years ago
The next step in the translation of this mrna will be the formation of a peptide bond between which two of the numbered amino ac
blondinia [14]

The bond between Amino acid 2 and amino acid 3 two of the numbered amino acids. The correct option is A.

<h3>What is protein translation?</h3>

In genomics, translation is the process by which information encoded in messenger RNA (mRNA) directs the addition of amino acids during protein synthesis.

It is divided into three stages: initiation, elongation, and termination. After being processed, the mRNA transports the instructions to a ribosome in the cytoplasm.

The ribosome, which is made up of rRNA and proteins, is where translation takes place.

The bond formed by amino acids 2 and 3 (two of the numbered amino acids).

Thus, the correct option is A.

For more details regarding protein translation, visit:

brainly.com/question/16305501

#SPJ1

Your question seems incomplete, the missing part of question is attached below:

4 0
11 months ago
What can we learn from the example of the wi-fi alliance with regard to the necessity of networking standards?
Vera_Pavlovna [14]
The Wi-Fi alliance is an alliance that promotes the wireless technologies and the interoperability between them. It defines the the security of the wireless technologies and the application protocols. From this example we can learn that is crucial to have one platform that defines the main characteristic of a type of network in order to have strictly defined standards and protocols, and by doing so, have interoperable networks. 
7 0
3 years ago
Other questions:
  • This device operates at layer 2 but functions at the higher layers.
    11·1 answer
  • Which of the following things would you access from the Program &amp; Courses page? Course descriptions Tutorial videos Account
    7·1 answer
  • Laura wants to know more about the organization to which she has applied. What can she do to know more about the organization’s
    12·1 answer
  • A(n) _____ element, as described by the World Wide Web Consortium (W3C), is an element that "represents a section of a page that
    13·1 answer
  • 2. The factorial of a positive integer n is the product of the integers from 1 to n. You can express the factorial of a positive
    6·1 answer
  • 75,15,25,5,15 what's next
    8·1 answer
  • The question is in the photo
    14·1 answer
  • How to execute python code in command prompt *window*?
    5·1 answer
  • Write the simplest statement that prints the following: 3 2 1 Go! python
    6·1 answer
  • Which access method would be most appropriate if your manager gave you a special cable and told you to use it to configure the s
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!