title: Rewrite a pay computation with time-and-a-half for overtime and create a function called computepay which takes two parameters(hours and rate0
body: <p>Here is my code (btw I am new to Stackoverflow and coding in general so forgive me if I made some mistakes in formatting this question):</p>
  <pre><code>hours = int(input('Enter hours:'))
  rate =  int(input('Enter rate:'))
  pay =('Your pay this month' + str((hours + hours/2) * rate))
  def computepay(hours,rate):
  pay =('Your pay this month' + str((hours + hours/2) * rate))
  return pay 
  
  print(pay)
  </code></pre>