Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In python, write a program to do the following, high school assignment, please keep simple Instructions Write a program to input ten book titles and

In python, write a program to do the following, high school assignment, please keep simple

Instructions

Write a program to input ten book titles and author's names then save them to a file named books.txt.

For each book, the user will first input the title, then input the first name, then the last name of the author, all on separate lines. In addition to saving the books in the file, please output, using the print method, the information you've gathered from the user.

You should follow the format uppercase title, tab, capitalized last name, comma, single space, capitalized first name. Here's an example for your output:

TO KILL A MOCKINGBIRD Lee, Harper

All book titles should be in uppercase and the author's name should be capitalized.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases And Python Programming MySQL MongoDB OOP And Tkinter

Authors: R. PANNEERSELVAM

1st Edition

9357011331, 978-9357011334

More Books

Students also viewed these Databases questions