Why are the hearts in turtle appearing slanted?
Why are the hearts in turtle appearing slanted? Question: import turtle t = turtle.Turtle() def heart(x): t.penup() t.goto(x, -100) t.pendown() t.color(‘black’,’red’) t.begin_fill() t.left(45) t.forward(100) t.circle(50, 180) t.right(90) t.circle(50, 180) t.forward(100) t.end_fill() for i in range(3): if i==1: x=-250 heart(x) elif i==2: #continue x=0 heart(x) else: #continue x=250 heart(x) t.hideturtle() turtle.done() This program is supposed to …