from math import sin for i in range(10000): print(" " * round(50 * (1 + sin(i/100))), "Hello World!")