title: Python parking rate
body: <pre><code>def cal_parking_fee (parking_duration):
      if parking_duration&lt; 60:
          fee = 2.5
      else:
          fee = 1.80 + 2.50
      return(fee)
  
  hours = int(input("Enter minutes "))
  total_fee = cal_parking_fee(hours)
  print(total_fee)
  </code></pre>
  
  <p>Hi I'm trying to practice my python programming and I am stuck with this particular question. It says to Write/define a function called <code>cal_parking_fee</code> that takes in one parameter <code>parking_duration</code> in
  minutes and return the fee payable based on the duration and parking rate. The rate is first hour of parking is $2.50 and every 30 min of parking thereafter is $1.80. I cant seems to make my code to work with the every 30 mins part.</p>