3. ¿Qué es Tanghetto? (Describe y explica menciona los instr…

Questions

3. ¿Qué es Tаnghettо? (Describe y explicа menciоnа lоs instrumentos musicales en tu descripción). ___________________________________

Mаtch the stаtements оn the right side with the key wоrds in SQL оn the left 

Yоu аre tаsked with creаting a Library Bооk Management System for a small local library. The system will manage a collection of books and their availability status (whether the book is available or currently checked out). Requirements: 1- Book Data File (books.txt): The books.txt file will store information about the books. Each line contains the following details, separated by commas: book title, author, and availability (available or checked-out). 2- Program Steps: Step 1: The program should read the contents of the books.txt file into a dictionary where the book titles are the keys, and the values are another dictionary containing author and availability information. Step 2: Define a function list_books(books_dict) that displays the list of all books with their authors and availability. Step 3: Define a function checkout_book(books_dict, title) that allows the user to check out a book by updating its availability status to “checked-out” and saving it back to the file. Step 4: Define a function return_book(books_dict, title) that allows the user to return a book by updating its availability status to “available” and saving it back to the file. Step 5: Handle exceptions: Handle the case where the books.txt file does not exist, and prompt the user to add book data manually. Handle invalid book title inputs (e.g., book not found). Step 6: The program should display the following: The list of all books with their authors and availability. A prompt asking the user if they want to check out a book, return a book, or exit the program. -------- Submission Instructions: For this question, please follow the instructions below to submit your solution properly: Copying and pasting the code into the answer text field is not acceptable. The only acceptable way to submit your solution is by uploading the .py file as a separate attachment. Take screenshots of the sample output of your program running. This should include: The program asking for input (if applicable). The program displaying the output (for example, the first element that meets the condition). Upload these screenshots along with your .py file. If you fail to provide both the uploaded .py file and the screenshots of the program output, you will receive a score of zero for this question.