impressão em python substitua impressão antiga

# Overwrite previous print
print(x, end='\r')
Magnificent Moth