How can I find the highest and lowest values in a list? : <p>I have a code that looks something like this for school:</p>

<pre><code> print ("Couple A Results")
coupleA = []
judges = 5
while len(coupleA) &lt; judges:
    judge1 = input("Input Scores For Couple A in round 1: ")
    judge2 = input("Input Scores For Couple A in round 1: ")
    judge3 = input("Input Scores For Couple A in round 1: ")
    judge4 = input("Input Scores For Couple A in round 1: ")
    judge5 = input("Input Scores For Couple A in round 1: ")
    coupleA.append(judge1)
    coupleA.append(judge2)
    coupleA.append(judge3)
    coupleA.append(judge4)
    coupleA.append(judge5)
    print coupleA
print ("\nThese are the scores for couple A:")
print coupleA
</code></pre>

<p>I would like a separate piece of code to pull out the highest and lowest values from the list that had been inputted, and add the values in between. does anyone know how i would do this? Thanks </p>
