from math import * from turtle import * t=pen() title("Синусоїда і косинусоїда") setup(400,600) reset() pensize(2) bgcolor('green') up() color('yellow') goto(-200,0) down() for x in range(-200,200,1): y=sin(x/30)*30 goto(x,y) up() color('red') goto(-200,0) down() for x in range(-200,200,1): y=cos(x/30)*30 goto(x,y) up() color('blue') goto(-200,0) for x in range(-200,200,1): y=tan(x/30)*30 if abs(y)<600: down() else: up() goto(x,y) exitonclick()