Hey, so for a project of mine we are asked to draw a face using instances of classes. I'm not very familiar with classes and I was wondering if anyone could explain to me why my code wont even open the turtle window. I'm also slightly confused as to how things get passed down through the code and if someone could help explain that, I could do the other classes.
import turtle
class circle():
def __init__(self, fill = 1, color = "green"):
self.fill = fill
self.color = color
def draw(self, x=0, y=0):
goto(x,y)
turtle.color(self.color)
turtle.up()
turtle.goto (0,-100)
turtle.down()
turtle.fill(self.fill)
turtle.circle(100)
turtle.goto(0,50)