instant_print = lambda x: [print(x), sys.stdout.flush(), sys.stderr.flush()] instant_print("X").