Question
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started