Skip to content

Instantly share code, notes, and snippets.

@tylersamples
Created June 25, 2013 05:14
Show Gist options
  • Save tylersamples/5856098 to your computer and use it in GitHub Desktop.
Save tylersamples/5856098 to your computer and use it in GitHub Desktop.
CN Python Example 1
nations = []
nations.append({"nationID": 12234, "nationName": "Python Nation", "nationRuler": "pyRuler"})
nations.append({"nationID": 13254, "nationName": "Other Nation", "nationRuler": "ermagerd"})
for nat in nations:
print nat["nationID"]
print nations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment