title: Building a python animal guessing game
body: <p>I'm in a basic programming class and we have to make an animal guessing game. The basic idea is to create a dictionary of animals and attributes, and have the user guess the attribute and output yes or no and if they guess the animal's name print you win or try again. I'm stuck on getting the code to work correctly when the user input's an animal's name or attribute and print the correct response. Any help would be much appreciated. </p>
  
  <pre><code>import random
  animal = {'lion': ['mane', 'teeth', 'pride', 'Africa', 'predator'],
  'tiger': ['stripes', 'fur', 'endangered', 'cat', 'claws'],
  'bear': ['hibernates', 'North America', 'Brown', 'Fur', 'Strong'],
  'owl': ['hoot', 'nocturnal', 'flies', 'big eyes', 'eats mice'],
  'frog': ['pond', 'green', 'tongue', 'amphibian', 'eats flies'],
  'toucan': ['rainbow', 'long beak', 'South America', 'tropical', 'wings'],
  'monkey': ['eats bananas', 'trees', 'tail', 'swing', 'primate'],
  'shark': ['ocean', 'dangeous', 'cartilege', 'sharp teeth', 'fins'],
  'zebra': ['stripes', 'black and white', 'africa', 'safari', 'hoofs'],
  'wolverine': ['vicious', 'skunk bear', 'brown', 'small', 'fast']}
  
  randomanimal = random.choice(dict(enumerate(animal)))
  key = random.choice(animal.keys())
  values = random.choice(animal.values())
  print ("Let's play a game!")
  print ("Guess the animal I'm thinking of.")
  guess = raw_input('What animal am I thinking of?')
  if guess == "value":
      print("yes")
  else:
      print("no")
  if guess == "key":
      print("You Win!")
  else:
      print("Try Again.")
  </code></pre>