title: Mismatch but don't know what is wrong...(python)
body: <p>So I need help with programming.</p>
  
  <p>My assignment is this:</p>
  
  <p>Write a program to prompt the user for hours and rate per hour using raw_input to compute gross pay. Award time-and-a-half for the hourly rate for all hours worked above 40 hours. Use 45 hours and a rate of 10.50 per hour to test the program (the pay should be 498.75). You should use raw_input to read a string and float() to convert the string to a number. Do not worry about error checking the user input - assume the user types numbers properly.</p>
  
  <p>I did this:</p>
  
  <pre><code>inp = raw_input ('Enter Hours: ')
  hours = float(inp)
  inp = raw_input ('Enter Rate: ')
  rate = float(inp)
  
  print rate, hours
  
  if hours &lt;= 40 :
     pay = hours * rate
  else :
     pay = rate * 40 + (rate * 1.5 * ( hours - 40 ))
  
  print pay
  </code></pre>
  
  <p>And it seemed to be okay but when I click on check the code, I enter hours 45, and then rate I tried entering 10.50, 10.5 but every time I get this:
  10.5 45.0 ← Mismatch
  498.75</p>
  
  <p>The answer 498.75 is correct but I keep getting mismatch there so I cannot finish my assignment. Anyone knows what am i doing wrong?</p>