title: Python math division operation returns 0
body: <pre><code>print "------------ EPIDEMIOLOGY --------------\n"
  
  def divide(A,B):
      return A/B
  
  print " [Population] point Prevalence rate: "
  A = input("Enter value for people with disease: " )
  B = input("Enter value for total population: " )    
  prevalence = divide(A,B)
  print " Population Prevalence rate is: ",prevalence
  </code></pre>
  
  <p>A and B are user input and do not know if they are integers or floats. My answer is always 0 when i run this program. (I'm new in Python). How do i fix this or change in my function to avoid this problem?</p>
  
  <p>the input part of code works, the math does not.</p>