Advertisements
Advertisements
प्रश्न
Write the python statements to print the sum of the english marks scored by Mishti.
कोड लेखन
Advertisements
उत्तर
dfMishti = df[df['Name'] == 'Mishti']
print(dfMishti['Eng'].sum())
Explanation:
df[df['Name']=='Mishti']selects only the rows containing Mishti's marks.dfMishti['Eng'].sum()calculates the total English marks scored by Mishti.
shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
