I have two questions: 1) When should I use "def __init__(self):" when I create a class?
2) Would these two classes have the same effect?
class Name:
def __init__(self):
man = Marcus
woman = Jasmine
return self.man, self.woman
class Name:
man = Marcus
woman = Jasmine
return man, woman
_______________________________________________
Tutor maillist - [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
