WRITE A PYTHON PROGRAM TO CREATE A DATAFRAME SCORE CONTAINING FOLLOWING DATA

Solution :- 

import pandas as pd
dict={‘Aram’:[90,91,97],
‘Ram’:[92,81,96],
‘Sam’:[89,91,88],
‘Riya’:[81,71,76],
‘Preeti’:[89,78,76],
‘Mohan’:[85,95,75]}
score = pd.DataFrame(dict,[‘Maths’,’Science’,’Hindi’])
print(score)

Output :-