for y in range(15, -15, -1): for x in range(-30, 30, 1): if((x/2)**2+((5*y/4)-2+abs(x)**0.5)**2<=120): print("*", end='') else: print(" ", end="") print()