Try This
import turtle import math t = turtle.Turtle() s = turtle.Turtle() t.setworldcoordinates(-3.14,-1.0,3.14,1) t.color('blue') s.color('red') t.width(2) s.width(2) t.up() s.up() t.goto(-3.14,math.sin(-3.14)) s.goto(-3.14,math.cos(-3.14)) t.down() s.down() t.speed(4) s.speed(4) i = -3.14 while i <= 3.14: t.goto(i,math.sin(i)) s.goto(i,math.cos(i)) t.dot(5,'red') s.dot(5,'blue') i += 0.1
Run