Skip to content

Instantly share code, notes, and snippets.

@rogeriochaves
Last active January 5, 2020 20:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rogeriochaves/9d9823922910cc5db62fa9d30aea2a75 to your computer and use it in GitHub Desktop.
Save rogeriochaves/9d9823922910cc5db62fa9d30aea2a75 to your computer and use it in GitHub Desktop.
questions = {
1: 'Is your character yellow?',
2: 'Is your character bald?',
3: 'Is your character a man?',
4: 'Is your character short?',
}
characters = [
{'name': 'Homer Simpson', 'answers': {1: 1, 2: 1, 3: 1, 4: 0}},
{'name': 'SpongeBob SquarePants', 'answers': {1: 1, 2: 1, 3: 1, 4: 0.75}},
{'name': 'Sandy Cheeks', 'answers': {1: 0, 2: 0, 3: 0}},
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment