📅  最后修改于: 2022-03-11 14:45:52.950000             🧑  作者: Mango
def f():
print('xy', end='')
print('\rzz')
f()
>> zz // \r make cursor reset to the start of the line and over-write any text after that