हिंदी

A list named studentAge stores age of students of a class. Write the Python command to import the required module and (using built-in function) - Computer Science (Python)

Advertisements
Advertisements

प्रश्न

A list named studentAge stores age of students of a class. Write the Python command to import the required module and (using built-in function) to display the most common age value from the given list.

टिप्पणी लिखिए
Advertisements

उत्तर

import statistics
print( statistics.mode(studentAge) )
shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
2023-2024 (March) Board Sample Paper
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×