How to stop the python turtle from drawing
问题 Can anyone tell me why this code always has a line on the screen and also how to stop it? Slight problem with this is that every time this happens, I always get a line on my canvas no matter what I try to do. Any ideas on how to prevent this? Now this is probably too much code, but I have no idea how else to show the failing code. I have tried a variety of ways but none seem to work. def drawpixel(x, y, colour): turtle.goto(x, y) turtle.dot(1, colour) def main(): screen = turtle.Screen()