Skip to content

Commit a4c5b3f

Browse files
authored
New Code about Heart Icon!
Heart Icon with accessibility to choose background and heart color.
1 parent 58fd5ad commit a4c5b3f

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

BetterHeartIcon.py

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
from turtle import *
2+
import time
3+
4+
bg = input("Enter Background Color: ")
5+
heart = input("Enter Heart Color: ")
6+
7+
bgcolor(bg)
8+
color(heart)
9+
begin_fill()
10+
left(50)
11+
forward(133)
12+
circle(50,200)
13+
right(140)
14+
circle(50,200)
15+
forward(133)
16+
time.sleep(5)
17+
end_fill()
18+
time.sleep(5)
19+
20+
#github.com/Legendify/Python

0 commit comments

Comments
 (0)