Question
High School Assignment: please keep simple, use for loops but preferably no arrays In python, Instructions Write a program to input ten book titles and
High School Assignment: please keep simple, use for loops but preferably no arrays
In python,
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
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