title: Unit conversion using Python
body: <p>I am going through Learn Python the Hard Way, On Ex-5 Study Drills, it states</p>
  
  <blockquote>
    <p>Try to write some variables that convert inches and pounds to centimeters and kilos. Do not just type in the measurements. Work out the math in Python.</p>
  </blockquote>
  
  <p>So far I have done this:</p>
  
  <pre><code>inches = 1
  centimeters = 1
  convert = centimeters * 2.54
  print inches
  print centimeters 
  print "1 inch is %s centimeters." % convert
  </code></pre>
  
  <p>Now that will display the conversion of 1 inch, How would I be able to change it so that the user would input an amount in inches or centimeters, and it would correctly display the conversion?</p>
  
  <p>And am I right in thinking that for it to successfully convert values, I would have to enter the values in manually or is there a way to do this already made in Python?</p>