Created
February 28, 2013 01:01
-
-
Save jjcall/5053318 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Person(object): | |
DUDES = ["Jason", "Eric"] | |
def __init__(self, name, age): | |
self.name = name | |
self.age = age | |
def greet_dudes(self) | |
for name in Person.DUDES: | |
print "Hello " + name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment