Make a table with subjects as rows and students as columns (the transpose of marks) and store it in result.
import numpy as np
names = np.array(["Asha", "Ravi", "Kiran", "Meena", "Om", "Farah", "Dev", "Isha", "Neel", "Tara"])
subjects = np.array(["Maths", "Science", "English", "Computers"])
marks = np.array([
[78, 85, 72, 90],
[56, 61, 70, 65],
[92, 88, 81, 95],
[45, 52, 60, 58],
[83, 79, 88, 84],
[67, 72, 64, 70],
[99, 94, 85, 98],
[38, 44, 55, 41],
[71, 69, 77, 80],
[88, 91, 93, 87],
])Store your final answer in a variable named result.
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.