title: subtracting two times in python
body: <p>I have a problem with my code. I am trying to subtracting the two times but it give me an error: </p>
  
  <pre><code>TypeError: unsupported operand type(s) for -: 'time.struct_time' and 'time.struct_time'
  </code></pre>
  
  <p>The error are jumping on this line:</p>
  
  <pre><code>diff = (end_dt - start_dt)
  </code></pre>
  
  <p>When I try this:</p>
  
  <pre><code>start = "09:35:23"
  end = "10:23:00"
  start_dt = time.strptime(start, '%H:%M:%S')
  end_dt = time.strptime(end, '%H:%M:%S')
  diff = (end_dt - start_dt)
  </code></pre>
  
  <p>Can you please help me how to fix the error that I am getting?</p>