■ 현재-ing/ㅡPython
파이썬 눈송이 모양 그리기
with seok
2020. 7. 5. 21:47
파일 다운로드 |
#눈송이 모양 그리기 from turtle import * shape("turtle") for i in range(6): fd(100) for j in range(3): speed(1) rt(60) fd(50) rt(180) fd(50) rt(60) fd(100) rt(120) |
파일 다운로드 |
#눈송이 모양 그리기 from turtle import * shape("turtle") pensize(10) speed(5) for i in range(6): fd(100) for j in range(3): if i%2==0: color("#93DA00") #color("blue") else: color("#FFBFFF") #color("green") rt(60) fd(50) rt(180) fd(50) rt(60) fd(100) rt(120) |
728x90