Skip to content

Instantly share code, notes, and snippets.

@royletron
Created March 31, 2013 19:42
Show Gist options
  • Save royletron/5281755 to your computer and use it in GitHub Desktop.
Save royletron/5281755 to your computer and use it in GitHub Desktop.
class Sheep:
name=""
species=""
legs=0
sheep = Sheep()
sheep.name = "Brian"
sheep.species = "Sheep"
sheep.legs = 4
print(sheep.name)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment