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.
Trending nowThis is a popular solution!
Step by stepSolved in 4 steps with 2 images
- : Write a python program to simulate an online store. The program should begin by displaying a list of products and their prices. There should be a minimum of 4 products offered. The program should ask the user to choose a product and then ask the user to enter the quantity they require of that product. The program should then allow the user to keep choosing more products and quantities until they enter something to indicate they want to end the program (e.g. a given number or ‘q’ or ‘exit’). The program should then tell the user the total amount for the products they have selected.arrow_forwardC#arrow_forwardIN PYTHON Write a script which uses the input function to read a string, an int, and a float, as input from keyboard prompts the user to enter his/her name as string, his/her age as integer value, and his/her income as a decimal. For example your output will display as: Mark is 30 years old and his income is 2000 Please show code.arrow_forward
- 2. A password is called STRONG if it holds all of the following properties: (a) It has at least 8 characters (b) It contains at least one lower case letter, and at least one upper case letter (c) It does not contain any blank space Write down a program that will take a password as input to a string and will print a message indicating whether it is STRONG or WEAK. Sample input: Strange Sample output: The password is WEAK solve in C program languagearrow_forwardJLourses/42392/assignments/976546?module_item_id=2464139 Fall 2021 COP1000 HW4.docx Home In this homework, you will Announcements 1. Code-trace and predict the output of a program Account Modules 2. Write a program that prints a day of the week. 3. Write a program that prints roman numerals. 4. Write a program that calculates and compares the area of two rectangles. Quizzes Dashboard Grades Syllabus NOTES: You will submit six (06) files after completing this homework: Courses Zoom Library Research Guides - THREE source files: yourName_LAB4_1.py, yourName LAB4_2.py AND yourName LAB4_3.py • THREE image files: yourName LAB4_output1.jpg. yourName_LAB4_output2.jpg, AND yourName_LAB4_output3.jpg - You will also enter your response for #1 in the comment section. Calendar Inbox Assignment History 1. Code-Tracing - Without running / testing thefollowing code, predict what the following program would print on the screen if you printed freeze and then boil. Write your answer in the comment…arrow_forwardHow do I use PYTHON to create a high/low number guessing game? Assignment reads: If the user’s guess is higherthan the randomly chosen number, the program should say “Your guess was too high” and prompt theuser to guess another number. If the user’s guess was lower than the randomly chosen number, theprogram should say “Your guess was too low” and prompt the user to guess another number. Finally, ifthe user guesses correctly, the program should say the user’s guess was correct and tell the user howmany guesses it took them to get the numberarrow_forward
- Computer Science Part C: Interactive Driver Program Write an interactive driver program that creates a Course object (you can decide the name and roster/waitlist sizes). Then, use a loop to interactively allow the user to add students, drop students, or view the course. Display the result (success/failure) of each add/drop.arrow_forwardprogram must include a processing loop that allows multiple sets of data to be processed and the program should be terminated when there is no more data to process Develop a program in python that allows the user to enter a start value of 1 to 4, a stop value of 5 to 12 and a multiplier of 2 to 8. The program must display a multiplication table with results using these values. For example, if the user enters a start value of 3, a stop value of 7 and a multiplier value of 3, the table should be displayed as follows: Multiplication Table 3 x 3 = 9 3 x 4 = 12 3 x 5 = 15 3 x 6 = 18 3 x 7 = 21 Run the program with the following values: Start Stop Multiplier 2 10 4 4 12 6arrow_forwardDrawa structured flowchart , C++, write pseudocode that describes the process of guessing a number between 1 and 100. After each guess, the player is told that the guess is too high or too low. The process continues until the player guesses the correct number. Pick a number and have a fellow student try to guess it following your instructions.arrow_forward
- Computer Networking: A Top-Down Approach (7th Edi...Computer EngineeringISBN:9780133594140Author:James Kurose, Keith RossPublisher:PEARSONComputer Organization and Design MIPS Edition, Fi...Computer EngineeringISBN:9780124077263Author:David A. Patterson, John L. HennessyPublisher:Elsevier ScienceNetwork+ Guide to Networks (MindTap Course List)Computer EngineeringISBN:9781337569330Author:Jill West, Tamara Dean, Jean AndrewsPublisher:Cengage Learning
- Concepts of Database ManagementComputer EngineeringISBN:9781337093422Author:Joy L. Starks, Philip J. Pratt, Mary Z. LastPublisher:Cengage LearningPrelude to ProgrammingComputer EngineeringISBN:9780133750423Author:VENIT, StewartPublisher:Pearson EducationSc Business Data Communications and Networking, T...Computer EngineeringISBN:9781119368830Author:FITZGERALDPublisher:WILEY