clear_output in python 3 code example
Example: ipython clear output
from IPython.display import clear_output
for i in range(10):
clear_output(wait=True)
print("Hello World!")
from IPython.display import clear_output
for i in range(10):
clear_output(wait=True)
print("Hello World!")