हिंदी

Which command is correct to display the total QUANTITY of all ITEMS in the STOCK?

Advertisements
Advertisements

प्रश्न

Which command is correct to display the total QUANTITY of all ITEMS in the STOCK? 

विकल्प

  • print(sum(Stock["QUANTITY"])

  • print(total["QUANTITY"])

  • print(Stock["QUANTITY"].add())

  • print(Stock["QUANTITY"].sum())

MCQ
Advertisements

उत्तर

print(Stock["QUANTITY"].sum())

shaalaa.com
Other DataFrame Operations
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×