()
| 81 | |
| 82 | |
| 83 | def user_exit_checker(): |
| 84 | # Checking if the user would like to roll another die, or to exit the program |
| 85 | user_exit_checker_raw = input( |
| 86 | "\r\nIf you want to roll another die, type [roll]. To exit, type [exit].\r\n?>" |
| 87 | ) |
| 88 | user_exit_checker = user_exit_checker_raw.lower() |
| 89 | if user_exit_checker == "roll": |
| 90 | start() |
| 91 | else: |
| 92 | bye() |
| 93 | |
| 94 | |
| 95 | # Actually starting the program now. |