<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def pause(message='Press any key to continue . . . '):
 """ Prints the specified message if it's not None and waits for a keypress. """

    if message is not None:
        print(message, end='')
        sys.stdout.flush()
    getch()
    print()