from turtle import * import math for x in range(-360, 360): x_rad = math.radians(x) y = 100 * math.sin(x_rad) setpos(x, y)