-
Notifications
You must be signed in to change notification settings - Fork 109
Closed
Description
Object Oriented mode
Make 2 modes in application:
Procedure - current
Object Oriented.
It will be swiched in menu (?)
When OO mode is swiched, turtle widget blanks.
then we can use OO approach:
mike = Turtle()
mike.go(30)
mike.turn(60)
gandalf = Turtle(x=50, y=40)
gandalf.go(90)
class JumpingTurtle(Turtle):
def jump(self):
self.go(50)
froggy = JumpingTurtle()
froggy.jump()
It will be coolest education application ever!
Metadata
Metadata
Assignees
Labels
No labels