PRP201c_-_SU_2024_-_PE2_2580.webp
P

PRP201c_-_SU_2024_-_PE2_2580.webp

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
Chưa có bình luận nào.

Thông tin

Category
PRP201c
Thêm bởi
precious_treasure
Ngày thêm
Lượt xem
1,340
Lượt bình luận
0
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
PRP201c_-_SU_2024_-_PE2_2580.webp
File size
83 KB
Dimensions
1920px x 907px

Share this media

Back
Bên trên Bottom