import time import threading def background_task(): print(\'Doing something\') time.sleep(10) input(\'Press enter to continue\\n\') print(\'Doing so