Writing my own turtle class (I understand that Python has it's own turtle class, but this is for an assignment) with an imported graphics.py to draw a koch snowflake and c-curve.
What I have came up with so far are all the functions I need. I just need some assistance in writing them...
class turtle: def __init__(self, location, direction): <code> def forward(self, length): <code> def turn(self, degrees): <code> def setLocation(self, newX, newY): <code> def setDirection(#can't think of arguments) <code>
There is no need to provide the rest of the code for me, as I would like to understand for myself. Just some hints or criticism towards which direction I should head is helpful enough. Thanks!