[고등학교 정보교과서] 3-3-6. 함수 #3 - 씨마스
고등학교 정보교과서 3. 문제 해결과 프로그래밍 (3) 프로그래밍 Programming ⑥ 함수 Function #3 - 씨마스 하트 만들기전체 코드 보기더보기# 하트 출력 프로그램from turtle import *def heart(y, x, n) : for i in range(n) : dx = x * 20 dy = -y * 20 goto(dx, dy) color("orange") dot(20) x += 1penup()heart(0, 1, 2)heart(0, 6, 2)heart(1, 0, 4)heart(1, 5, 4)heart(2, 0, 9)heart(3, 0, 9..