Skip to content

Instantly share code, notes, and snippets.

@thomasfedb
Created June 10, 2012 16:59
Show Gist options
  • Save thomasfedb/2906613 to your computer and use it in GitHub Desktop.
Save thomasfedb/2906613 to your computer and use it in GitHub Desktop.
class Cutie:
def __init__(self, name, cuteness):
self.name = name
self.cuteness = cuteness
def describe(self):
return self.name + " is " + "very " * self.cuteness + "cute"
print Cutie("Edmund", 10).describe()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment