Skip to content

Instantly share code, notes, and snippets.

@rchatley
Created January 25, 2024 12:45
Show Gist options
  • Save rchatley/d137a943e905303c5006a0a8fd85b55c to your computer and use it in GitHub Desktop.
Save rchatley/d137a943e905303c5006a0a8fd85b55c to your computer and use it in GitHub Desktop.
Some sample data about books
books = [
{
'id': 1,
'title': 'To Kill a Mockingbird',
'author': 'Harper Lee',
'publication_year': 1960,
'genre': 'Southern Gothic'
},
{
'id': 2,
'title': '1984',
'author': 'George Orwell',
'publication_year': 1949,
'genre': 'Dystopian Fiction'
},
{
'id': 3,
'title': 'Pride and Prejudice',
'author': 'Jane Austen',
'publication_year': 1813,
'genre': 'Romantic Novel'
},
{
'id': 4,
'title': 'The Great Gatsby',
'author': 'F. Scott Fitzgerald',
'publication_year': 1925,
'genre': 'American Literature'
},
{
'id': 5,
'title': 'The Hunger Games',
'author': 'Suzanne Collins',
'publication_year': 2008,
'genre': 'Young Adult Dystopian'
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment