$ python3 search_novels.py
Please select one of the following choices:
1. Search by title
2. Search by publication year
3. Search by average rating
0. Quit
Enter selection: 1
Enter a search term: house

==============================================================================
| Title and Author               | Year | Gender | Rank | Rate | Ratings
------------------------------------------------------------------------------
| The House of the Seven Gables
| Nathaniel Hawthorne            | 1851 |   male |   61 | 3.45 |   39746
------------------------------------------------------------------------------
| Bleak House
| Charles Dickens                | 1853 |   male |   99 | 4.02 |  108341
------------------------------------------------------------------------------
| The House of Mirth
| Edith Wharton                  | 1905 | female |  200 | 3.97 |   97419
------------------------------------------------------------------------------
| To the Lighthouse
| Virginia Woolf                 | 1927 | female |  123 | 3.80 |  181798
------------------------------------------------------------------------------
| Little House In the Big Woods
| Laura Ingalls Wilder           | 1932 | female |  214 | 4.20 |  268115
------------------------------------------------------------------------------
| Little House on the Prairie
| Laura Ingalls Wilder           | 1935 | female |  239 | 4.21 |  289969
------------------------------------------------------------------------------
| Slaughterhouse-Five
| Kurt Vonnegut                  | 1969 |   male |  211 | 4.10 | 1364525
------------------------------------------------------------------------------
| The House of the Spirits
| Isabel Allende                 | 1982 | female |  190 | 4.28 |  266062
------------------------------------------------------------------------------
| The House on Mango Street
| Sandra Cisneros                | 1984 | female |  313 | 3.69 |  188095
------------------------------------------------------------------------------
| The Cider House Rules
| John Irving                    | 1985 |   male |  417 | 4.16 |  184556
------------------------------------------------------------------------------
| A Painted House
| John Grisham                   | 2001 |   male |  220 | 3.75 |   93602
------------------------------------------------------------------------------

Please select one of the following choices:
1. Search by title
2. Search by publication year
3. Search by average rating
0. Quit
Enter selection: 1
Enter a search term: apple

No novels found

Please select one of the following choices:
1. Search by title
2. Search by publication year
3. Search by average rating
0. Quit
Enter selection: 1
Enter a search term: ivan

==============================================================================
| Title and Author               | Year | Gender | Rank | Rate | Ratings
------------------------------------------------------------------------------
| Ivanhoe
| Walter Scott                   | 1819 |   male |   55 | 3.76 |   94551
------------------------------------------------------------------------------
| The Death of Ivan Ilych
| Leo Tolstoy                    | 1886 |   male |  474 | 4.13 |  161880
------------------------------------------------------------------------------
| One Day in the Life of Ivan Denisovich
| Aleksandr Isaevich Solzhenitsy | 1962 |   male |  195 | 3.98 |  113811
------------------------------------------------------------------------------

Please select one of the following choices:
1. Search by title
2. Search by publication year
3. Search by average rating
0. Quit
Enter selection: 1
Enter a search term: MAGIC

==============================================================================
| Title and Author               | Year | Gender | Rank | Rate | Ratings
------------------------------------------------------------------------------
| The Magic Mountain (Der Zauberberg)
| Thomas Mann                    | 1924 |   male |  157 | 4.13 |   49080
------------------------------------------------------------------------------
| The Magician's Nephew
| C.S. Lewis                     | 1955 |   male |  124 | 4.05 |  537714
------------------------------------------------------------------------------

Please select one of the following choices:
1. Search by title
2. Search by publication year
3. Search by average rating
0. Quit
Enter selection: 0
Goodbye!