How can i repaint the output in one cell

I works , thanks for reply gratefully [quote=“jasongrout, post:5, topic:6000, full:true”]
print(i*i, end='\r') may work
[/quote]