title: Python 3 - Implement a function to compute hourly wage and number of hours worked
body: <p>I'm working on a question where I need to create a program that takes two arguments: an hourly wage and the number of hours an employee worked. Any hours beyond 40 is overtime and should be paid at a rate of <strong>1.5</strong> times more.</p>
  
  <p>So far, I've come up with the following: </p>
  
  <pre><code>def wage(hourly, hours)
  if hours &gt; 40
  #hours over 40 earns overtime rate
  </code></pre>
  
  <p>It should come out something along the lines of:</p>
  
  <pre><code>   &gt;&gt;&gt; wage(10, 10) 
     100
  
     &gt;&gt;&gt; wage(10, 35) 
     50
  
     &gt;&gt; wage(10,45)
     475
  </code></pre>
  
  <p>The function should output and calculate the values based off how the program is written. I'm just not sure how to implement the proper iteration with the user-defined function in order to output the proper values.</p>
  
  <p><strong>As reference, heres the original question:</strong></p>
  
  <p>Implement function 
  wage() 
  that takes two arguments: an hourly 
  wage and the number of hours an employee worked in the last 
  week. Your function should compute and return the employee’s 
  pay. Any hours worked beyond 40 is overtime and should be paid 
  at 1.5 times the regular hourly wage. Make sure to add a 
  Docstring to tell the user how the program works.</p>