cetak garis python overwrite

print("line1", end = "\r")
print("line2")

OUTPUT
line2
Wicked Wryneck