Skip to content

Instantly share code, notes, and snippets.

@thechaudharysab
Created December 23, 2018 21:42
Show Gist options
  • Save thechaudharysab/ed58bceb67ab6960c9dd8eb5e14758d4 to your computer and use it in GitHub Desktop.
Save thechaudharysab/ed58bceb67ab6960c9dd8eb5e14758d4 to your computer and use it in GitHub Desktop.
lists of users using Python data structures which are lists and dictionaries to simulate a data store
users = [
{
"name": "Nicholas",
"age" : 42,
"occupation": "Network Engineer"
},
{
"name": "Elvis",
"age" : 32,
"occupation": "Doctor"
},
{
"name": "Jass",
"age" : 23,
"occupation": "Web Developer"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment