()
| 2 | |
| 3 | |
| 4 | def heart_red(): |
| 5 | t = turtle.Turtle() |
| 6 | turtle.title("I Love You") |
| 7 | screen = turtle.Screen() |
| 8 | screen.bgcolor("white") |
| 9 | t.color("red") |
| 10 | t.begin_fill() |
| 11 | t.fillcolor("red") |
| 12 | |
| 13 | t.left(140) |
| 14 | t.forward(180) |
| 15 | t.circle(-90, 200) |
| 16 | |
| 17 | t.setheading(60) # t.left |
| 18 | t.circle(-90, 200) |
| 19 | t.forward(180) |
| 20 | |
| 21 | t.end_fill() |
| 22 | t.hideturtle() |
| 23 | |
| 24 | turtle.done() |
| 25 | |
| 26 | |
| 27 | if __name__ == "__main__": |
no test coverage detected