I have this function that takes info from two lists, and produces a list that shows their values in ... non interger form (0.8). I'm calling this function in a for loop, and this function gets repeated 20 times, pulling different info each time. This function works just fine, and does exactly what I want it to do.
def percentage(student_marks, total_quiz_marks):
quiz_precentage = []
for position in range(len(student_marks)):
quiz_precentage.append(float(student_marks[position]) / float(total_quiz_marks[position]))
return quiz_precentage
However... I need to take the info generated by this function, and pull out the lowest mark from each of these lists that is generated. I'v tried doing that with a different function, and get nothing but errors. I've tried several different ways, and was wondering if someone would be able to help out.