You need to learn how to use modules (
6. Modules — Python 3.4.8 documentation[
^]) and loops (see
4. More Control Flow Tools — Python 3.4.8 documentation[
^]). As it is you have a lot of duplicate code which just makes your program more difficult to read. Start with a list that contains the names of the books and their price - see
5. Data Structures — Python 3.4.8 documentation[
^] for some of the different options. You can then construct your menu dynamically by listing the entries in the list, preceded by their position as the selection value. When the user enters a number, that will allow you to show the details of the appropriate item.
As the user chooses each item you need to keep a running total of the amount spent (either before the discount is applied, after, or both). Then When the user selcts "no more" you can check whether the additional 5% discount should be applied.