title: Why my code doesn't work the else statement?
body: <p>Can anybody help me with my code.
  I wrote a little program just so that I can learn some of the functions and what is going on.
  Let me show you my code.</p>
  
  <pre><code>print "Hello student need help multiplying by any mutiplicaton"
  student = raw_input("If so then tell me which ones? =&gt; ").lower()
  for i in range(0, 11):
      if student == str(0):
         i_num = 0 * i
         print "0 times %d equals %d" % (i,i_num)
      elif student == str(10):
         i_num = 1 * 1
         print "1 times %d equals %d" % (i,i_num)
  else:
      print "Try this program when you can't figure it out your multiplications."
  </code></pre>
  
  <p>if the student inputs something that doesnt pertain to the if statement it will print the else. But if the student inputs str(1) it prints the multiplication and also it prints the else which that is the problem of my code that I don't want to happend. Can anyone help me.
  I am just trying to learn this functionality of if and elif and all that.</p>