# find the maximum
maximum = score[0]
for i in range(1, nScores):
if maximum < score[i]: maximum = score[i]
# find the minimum
minimum = score[0]
for i in range(1, nScores):
if minimum > score[i]: minimum = score[i]
# find maximum AND minimum
maximum = score[0]
minimum = score[0]
for i in range(1, nScores):
if maximum < score[i]: maximum = score[i]
if minimum > score[i]: minimum = score[i]