Modify your code to keep accepting input until the user presses a special key and the program stops.
Notes:
A loop is needed so that each time a user enters an input an receives an output, the user can repeat the process without having to re-run the application
The user enters a special key to exit the game. Let this special key be any symbol of your choice (eg %, ,\, ?, etc).
Ensure that on each try, you inform the user what key they need to press to exit the game
Modify your code to keep accepting input until the user presses a special key and the program stops.
Notes: