title: python if and else statements calculating employees pay
body: <p>I'm having a little trouble with this assignment its about calculating the employees pay it goes like  Write a Python program that prompts the user for an hourly rate and a number of hours worked and computes a pay amount. Any hours worked over 40 are paid at time and a half (1.5 times the normal hourly rate). Write a version of the program  using the if/else my code so far is this </p>
  
  <pre><code>hours = int(input('how many hours did you work? '))
  rate = 1.50
  rate = (hours/2)+hours*(rate+1.5)
  if hours&lt;40:
   print("you earn",rate)
  </code></pre>