title: How can I compare times (expressed as minutes and hours) correctly?
body: <pre><code>current_hour = 12
  current_minute = 37
  current_section = "PM"
  due_hour = 9
  due_minute = 0
  due_section = "AM"
  </code></pre>
  
  <p>Given the current time and deadline time represented by the
  variables above, determine if an assignment is still eligible
  for submission. An assignment is eligible if the time
  represented by current_hour, current_minute, and
  current_section is before the time represented by due_hour,
  due_minute, and due_section.</p>
  
  <p>my code is </p>
  
  <pre><code>total_min_cur=((current_hour*60)+current_minute)
  total_min_due=((due_hour*60)+due_minute)
  print((total_min_cur&lt;=total_min_due)  and (due_section &gt;= current_section) )
  </code></pre>
  
  <p>We tested your code with due_minute = 0, current_hour = 12, current_minute = 37, due_section = "AM", due_hour = 9, current_section = "AM". We expected your code to print this:</p>
  
  <p>True</p>
  
  <p>However, it printed this:</p>
  
  <p>False</p>