Title My books
Catalog Type SLCItem
Persistent ID https://acos.cs.vt.edu/html/acos-pcex/acos-pcex-examples/Dictionary__65d6557e704b52554dcda1e1?index=0
Platform Name PCEX
Features
Description The book is described by identifier, title, authors, publisher, unit price and year of publication. There cannot be two books with the same identifier. A single book is represented by a dictionary, where items from the book's description correspond to keys from the dictionary. The list of books is placed in the list of dictionaries. Write a program that allows you to add a new book and view all books from the list. Book printing should be formatted as shown below: number title author publisher price year ----------------------------------------------------------------------------------------- 1 Hobbit J.R.R.Tolkien Penguin 25 2012 2 Martian Andy Weir Euro Book 18 2014 Implement functions that save the book dictionary list to a file and read from the file.
Keywords
Author Aleksandra Klasnja Milicevic
Institution Departman za matematiku i informatiku
Iframe URL https://acos.cs.vt.edu/html/acos-pcex/acos-pcex-examples/Dictionary__65d6557e704b52554dcda1e1?index=0
Protocol SPLICE
Protocol URL
License MIT
Programming Language PYTHON
Natural Language en

Preview

SPLICE Output