Python 272제] 두근두근 파이썬(개정판) CHAPTER 8 도전문제 p245
출처 : 반크_독도2023 참고풀이](1) import turtle import random t = turtle.Turtle() t.speed(0) t.pensize(5) def Circle(sw_x,sw_y): for i in range(30): t.circle(1+5*i) t.color((random.random(),random.random(),random.random())) t.up() t.goto(sw_x*i*20, sw_y*i*20) t.down() #Main Part n=1 while True: t.up() t.goto(0,0) t.down() if n%4==1: x, y = 1, 0 elif n%4==2: x, y = 0, -1 elif n%4==3: x, y = -1, 0 else: x, ..
2024. 3. 15.