()
| 14 | |
| 15 | # Ending message |
| 16 | def ending(): |
| 17 | print("\n\nThanks for using the code :)\n") |
| 18 | a = input("Do you want to run the program again? (y for yes) (any key for no): ") |
| 19 | if a.lower() == 'y': |
| 20 | return True |
| 21 | else: |
| 22 | sys.exit() |
| 23 | |
| 24 | # Main loop |
| 25 | def run_loop(): |