turtle

import turtle as t import time # x, y축 그리기 t.pendown() t.goto(0, 1000) t.goto(0,0) t.goto(1000,0) t.penup() # 준비 x, y = 1, 1 x += 1 y = 400 // x t.goto(x, y) t.pendown() # 그래프 그리기 for i in range(600): t.goto(x, y) x += 1 y = 2000 // x print(x, y)
Sol Studio 공식 블로그
'turtle' 태그의 글 목록