title: Simple Python "if", "elif", "else"
body: <p>Making a "Mad Libs" style thing in Python for class, it's my first day, I've already picked up most of what I needed to know, but I'm not sure how to go about using the "if", "elif", "else" things. Here's what I have so far, basically, when the age is input I want it to choose if the person is an adult or a kid.</p>
  
  <pre><code>print "welcome to your short story"
  
  name = raw_input("Input your name: ")
  age = raw_input("Input your age: ")
  
  if age &gt; 21:
      age = "adult"
  elif age &lt; 21:
      age = "kid"
  
  
  print "My name is ",name,"and I am a " ,age,"year old ",age
  </code></pre>