By default, when a user pressing the control (CTRL) and "c" keys on the keyboard, a Python script will stop executing. Write a Python script that displays all of the numbers between 1 and 1,000,000. If the user presses CTRL-c, ask the user if they would like to continue. If they enter "y", have the script keep counting where it left off.
Example:1 2 3 ... ^C397046 397047 397048 Would you like to keep counting (Y/N)? y 397048 397049 ^C397050 397051 397052 Would you like to keep counting (Y/N)? n Have a nice day!