title: Min and Max of code not finding correct numbers
body: <p>I have a spreadsheet of information containing information on YouTube videos. I am trying to create a program that will find the average length of the videos and the shortest and longest video. I think I found the average length, but I'm unable to get the shortest and longest video. </p>
  
  <p>I used a for loop to get the information from the sheet, and then I split up the information into sections. I don't think I did that wrong, since I got the right number for the average. I'm assuming it has something to do with my max and min, but I don't know what else to do. </p>
  
  <p>How can I get my max and min values to find the right numbers?</p>
  
  <pre><code>def main():
    my_file = open('animalVideos.csv', 'r')
  
    list_of_lines = my_file.read().splitlines()
  
    sum = 0
    counter = 0
  
    for i in range(1, len(list_of_lines)):
      one_line = list_of_lines[i]
      line_items = one_line.split(',')
      sum += float(line_items[2])
      counter += 1
      longest = max(line_items[2])
      shortest = min(line_items[2])
  
    average = sum / counter 
    print(average, shortest, longest)
  
  main()
  </code></pre>