Content of the input file (integers_data.txt):2, 13, 24, 5, 6, 27, 8, 29, 33
Content of the output file (prime_numbers.txt):2, 13, 5, 29
Result of the program:
Original list of numbers: [2, 13, 24, 5, 6, 27, 8, 29, 33]
List of prime numbers: [2, 13, 5, 29]
Exercise 3: (4 marks)
Write a program that implements the following tasks:
Read book, member, and book-borrowing information from the respective CSV files (books.csv, members.csv, and borrowings.csv).
Insert the book, member, and borrowing data into the tables of a database named library_borrowing.sqlite. Ensure no duplicate entries for books and members.
Ask the user to enter a name of a member and print a list of books the member has borrowed. If no books are found, print "No books found for the member".
Content of books.csv file:
BookID, Book Title
B1, The Catcher in the Rye
B2, To Kill a Mockingbird
B3, 1984
Zoom
+ 100%
Close