please code in python The library needs a program to store books’ information. Write a Python module manage.py that gets the book information from the user store and prints them. The program will get the book's type, title, publication year, first author's name, and publisher name. The user can enter any book type, and the program should be able to store all of the related information and retrieve them. The prompt should show until the user enters 'done'. Next, the program should print books information based on the "type" and the publication "year". The required spacing for each column is 15. Note: Inputs can be in either lower or upper case. However, the first letter of each word of the output should be capitalized.
please code in python
The library needs a
book information from the user store and prints them. The program will get the book's type, title,
publication year, first author's name, and publisher name. The user can enter any book type, and the
program should be able to store all of the related information and retrieve them. The prompt should show
until the user enters 'done'. Next, the program should print books information based on the "type" and the
publication "year".
The required spacing for each column is 15.
Note: Inputs can be in either lower or upper case. However, the first letter of each word of the output
should be capitalized.
![Enter book type: Romance
Enter book's title: Simone
Enter book's publication year: 2018
Enter book's first author's name: Sierra Simone
Enter book's publisher name: No Bird Press
Enter book type: Romance
Enter book's title: The Ex Hex
Enter book's publication year: 2021
Enter book's first author's name: rachel lynn
Enter book's publisher name: Penguin
Enter book type: Romance
Enter book's title: Neon Gods
Enter book's publication year: 2021
Enter book's first author's name: katee robert
Enter book's publisher name: Sourcebooks
Enter book type: done
-Romance
Published in 2021:
|Author
|Emily Henry
|Publisher
|
|Berkley Books |
Title
Vacation
One Last Stop |Casey Mcquiston|St. Martin
|Rachel Lynn
|Katee Robert |Sourcebooks
|Penguin
The Ex Hex
Neon Gods
Published in 2018:
Title
|Author
|Publisher
|Sierra Simone INo Bird Press |
Simone
-Science
Published in 2017:
|Author
Black & Blues |Janna Levin
|Publisher
|Knopf Doubleday|
Title
Published in 2011:
|Author
|Lisa Goldstein |Tachyon
Title
|Publisher
Our Home](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Feb1193c9-d0d1-416d-ac45-bceed8a4dd09%2F9c68a8fe-a86d-4379-98f3-139b826e87c4%2F0x772m_processed.png&w=3840&q=75)
![](/static/compass_v2/shared-icons/check-mark.png)
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 2 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
![Concepts of Database Management](https://www.bartleby.com/isbn_cover_images/9781337093422/9781337093422_smallCoverImage.gif)
![Prelude to Programming](https://www.bartleby.com/isbn_cover_images/9780133750423/9780133750423_smallCoverImage.jpg)
![Sc Business Data Communications and Networking, T…](https://www.bartleby.com/isbn_cover_images/9781119368830/9781119368830_smallCoverImage.gif)