In this **HackerRank Zipped! problem solution** The National University conducts an examination of N students in X subjects. and your task is to compute the average scores of each student. where the Average score of the student is the sum o scores obtained in all subjects by a student divide by a total number of subjects.

## HackerRank Zipped! in python problem solution

# Enter your code here. Read input from STDIN. Print output to STDOUT [n, x] = list(map(int,raw_input().split())) X = [] for i in range(0, x): scoreList = list(map(float, raw_input().split())) X.append(scoreList) students = zip(*X) for stud in students: total = 0 for scor in stud: total += scor print "%.1f" % (total / len(stud))

## 0 Comments