Skip to content

Instantly share code, notes, and snippets.

@rogeriochaves

rogeriochaves/server.py

Last active Jan 5, 2020
Embed
What would you like to do?
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