Question
: Write Python code to do statistical analysis (average, min, max, standard deviation) of your marks in 5
Answer :
Word Count : 1065
In a Programming and AI Lab, Python can be used to perform statistical analysis of marks obtained in five subjects. Statistical measures such as average, minimum, maximum, and standard deviation help in understanding the overall academic performance and the variation in marks. Python provides simple built-in functions and libraries that make such calculations easy, accurate, and efficient. Suppose the marks obtained by a student in five subjects are 78, 65, 82, 71, and 90. These values can be stored in a Python list. The `statistics` module can then be used to calculate the average and standard deviation, while the built-in `min()` and `max()` functions can determine the lowest and highest marks. ```python import statistics # Marks obtained in five subjects marks = [78, 65, 82, 71, 90] # Calculate statistical values average = statistics.mean(marks) minimum = min(marks) maximum = max(marks) standard_deviation = statistics.stdev(marks) # Display the results print("Marks:", marks) print("Average:", average) print("Minimum:", minimum) print("Maximum:", maximum) print("Standard Deviation:", standard_deviation) ``` The first statement, `import statistics`, imports Python's standard `statistics` module. This module contains functions for performing common statistical ____ ___ _____ __________ ___ ___.
________ _____ ______ _____ ______ _____ _______ ____ ___ ______ _________ ___.
____ ________ _________ ______ _____ ____.
____ ______ _______ ____ ___ ___ ________ _______.
___ ___ ______ ______ ________.
______ ___ ___ ________ ___ __________ ___ _______.
______ ________ ____ ______ ____ _____.
_______ ___ ____ ___ ____ ________ _____ ________ __________ ____ _____ _____.
__________ ____ ____ ________ ____ _____ ________ _________ _____ _____.
_______ __________ _________ ____ ____ _______ _______ _______ ____ _________ ____.
___ _________ _______ ______ ________.
______ _________ _________ ____ _______ _________ ________ __________.
___ _________ ________ ______ _______ _________.
_______ ________ _________ ___ ____ ______ ______ __________ _____.
__________ _________ __________ _______ ____ __________ _____ ______ ________ _______ _____ _______.
____ ________ ____ _________ _________ _________ _____.
_____ ________ ___ ___ __________ _____ _________.
__________ _______ _________ ______ _________ ____ _________ ____ ____ ____.
_______ ____ ________ _____ _______ ___ ______ _________ _______.
___ _____ ______ __________ ____ ____.
____ ______ _______ _____ ______ __________ ________ _____.
____ ____ ________ ______ __________.
____ _________ ________ __________ ________ ________.
_________ _________ _______ ____ ___.
_____ _____ ___ ______ ____ _____.
_____ __________ ______ ______ __________ _____ _____ _________ _______ ___ _______.
_________ _________ ______ _____ _____ ______ _______ __________ ______ ____.
_______ ______ _________ ____ _____ _____ ___ _________ ______ ________.
___ _________ _________ _______ __________ _________ _________.
______ __________ _______ _________ ______ ____ _____ ______.
________ ________ ___ __________ ________ ___ ________ ___ ____ ___.
_____ ______ ______ ________ ________ ___ ___ _____ ____ _______ ________ __________.
_________ ____ ___ __________ _________ ____ ________ ___ ________ ___ ____.
_______ ____ _________ ______ ____ ________.
_________ _________ _________ _________ ________ _________ _______ ________ ____.
________ ________ ____ __________ ___ _____.
__________ ________ ______ __________ _____ ____ _____.
_____ _______ ______ _________ _______ ____ ______ ____.
_____ __________ ________ _____ ____ ___ ___ _____ ____ _______ ______.
____ _________ _______ ________ ____ ____.
______ _________ ________ ________ _____ _________ ____ _________ ___ _________ _____.
________ ___ __________ _____ _________ ________.
_______ _______ _______ _________ _____ ___ __________ ____.
______ ________ _________ _____ ________ _______ _____ _____ ______ ________.
______ _____ _______ _____ ___ _________ _________ __________ _______.
__________ _________ _____ ____ ______ ________ _________.
____ ________ __________ ________ __________ __________ _____ _________.
______ _____ ____ _______ ______ ________ _________ _______ _________ ______.
___ _______ ______ __________ ________ _____ ____ ________ __________ __________ ___.
_________ ____ ________ ________ ____ _______ __________ _______ ____.
____ _____ ________ _____ ______.
_______ ______ _________ ________ _____.
___ _________ ___ _____ _________ _______ _______ _____ ____.
________ _________ ______ _________ ____ _______ ____ ___.
___ __________ ______ _________ _________ ____ _______.
___ ______ ____ _______ ________ ___ __________ _______ _________ _______.
__________ _________ _____ ______ _________ ___ ___ _________ ___ _________ ___ ______.
______ _______ __________ _____ _____ ____.
______ ___ ______ ______ _________ ______ ____.
__________ ____ ____ ___ _________ _______ __________ _____ ________ ______ ______ ______.
______ ______ ______ ______ _________ ________ __________ _________ __________ _____ _______ ______.
_________ _______ _______ _______ ______ _________ ________ ____ ___ ____.
____ ______ ________ ___ ___ ______.
____ __________ _________ ___ ___ ________ ___ ________.
______ ______ _______ ___ _________ _______.
______ ________ _________ ________ ___ ________ ___ ___ ______.
_________ ______ ____ ____ __________ _______ _______ _____ _______.
_______ _____ _____ ____ ________ __________ __________ ______ ___ _____ _____ _________.
_____ _________ _____ ______ ___ ___ ____ ____.
________ ___ _____ _______ ______ _____ ________ ___ ___ _____ _________ __________.
____ _______ _______ _________ _____ _________ _______ _________ ________ ___.
________ ___ ________ __________ ______ _____ __________ __________ _______ __________.
___ ____ ____ _________ _________ ________ ____ _______.
__________ _______ ____ ____ ____ ________ ________ ________.
____ ___ _____ ______ ____ _________.
__________ __________ ________ _______ ________ ____.
_____ ______ _____ __________ ___ ___ ____ _________ ________ _____ _____.
____ ____ ___ ______ _______ _____.
___ __________ ______ _____ ___ ________ __________.
__________ ________ ____ ______ ______ ______ _____ ___ _________.
_______ _______ ___ _____ ________ _____.
_______ ___ ________ ____ _______.
___ __________ ______ _______ _________ ________ ________ _______ ____ ______ ____ ____.
______ _______ _________ ____ _____ ______ _______ ________ _________.
_________ __________ ______ ___ ______ ___ ______ ________ _____ ___ _____.
__________ ____ _________ __________ ______ ________.
____ ____ ____ ___ _____ ____ ___ __________ _______ _____ _________.
___ _________ _____ _________ ______ _____ ____ ___ _________ ___ ________ ___.
_________ _______ __________ _____ _______ ________ _______ ____.
_________ _________ _________ ______ _____ __________ ________.
________ __________ ___ _______ _______ _________ _______.
_________ _____ ___ ______ ____ ________ _______ ___ _______ ________ ____ _________.
________ _________ _________ _______ _________ ________ ___ ____ ___ _______ __________.
__________ ______ _______ _____ _____ _______ __________ _____ ______.
_____ ______ _______ _________ _____ _____ _________ ____.
______ ___ _________ ______ ____ ________ __________ ________ ________.
_______ ____ ________ ____ _______ ____ __________ ______ ______ ________.
____ _____ _______ ___ _____ ____ ______ ___ _____ __________.
_________ ____ __________ ____ ___ ____ _____ ___ __________ ____ __________.
____ ______ ______ ______ _______ __________ ________ __________ ____.
______ _________ ______ _______ ____ ___ _____.
______ _____ _______ ________ __________ ________ ____ ___ _________ _____.
________ ___ __________ ___ ______ ________ ______ ___ ____ _____ _____.
________ ________ _________ ______ _________ ___ _____ ___ ________.
Get Full Answer on WhatsApp
In a Programming and AI Lab, Python can be used to perform statistical analysis of marks obtained in five subjects. Statistical measures such as average, minimum, maximum, and standard deviation help in understanding the overall academic performance and the variation in marks. Python provides simple built-in functions and libraries that make such calculations easy, accurate, and efficient. Suppose the marks obtained by a student in five subjects are 78, 65, 82, 71, and 90. These values can be stored in a Python list. The `statistics` module can then be used to calculate the average and standard deviation, while the built-in `min()` and `max()` functions can determine the lowest and highest marks. ```python import statistics # Marks obtained in five subjects marks = [78, 65, 82, 71, 90] # Calculate statistical values average = statistics.mean(marks) minimum = min(marks) maximum = max(marks) standard_deviation = statistics.stdev(marks) # Display the results print("Marks:", marks) print("Average:", average) print("Minimum:", minimum) print("Maximum:", maximum) print("Standard Deviation:", standard_deviation) ``` The first statement, `import statistics`, imports Python's standard `statistics` module. This module contains functions for performing common statistical ____ ___ _____ __________ ___ ___.
________ _____ ______ _____ ______ _____ _______ ____ ___ ______ _________ ___.
____ ________ _________ ______ _____ ____.
____ ______ _______ ____ ___ ___ ________ _______.
___ ___ ______ ______ ________.
______ ___ ___ ________ ___ __________ ___ _______.
______ ________ ____ ______ ____ _____.
_______ ___ ____ ___ ____ ________ _____ ________ __________ ____ _____ _____.
__________ ____ ____ ________ ____ _____ ________ _________ _____ _____.
_______ __________ _________ ____ ____ _______ _______ _______ ____ _________ ____.
___ _________ _______ ______ ________.
______ _________ _________ ____ _______ _________ ________ __________.
___ _________ ________ ______ _______ _________.
_______ ________ _________ ___ ____ ______ ______ __________ _____.
__________ _________ __________ _______ ____ __________ _____ ______ ________ _______ _____ _______.
____ ________ ____ _________ _________ _________ _____.
_____ ________ ___ ___ __________ _____ _________.
__________ _______ _________ ______ _________ ____ _________ ____ ____ ____.
_______ ____ ________ _____ _______ ___ ______ _________ _______.
___ _____ ______ __________ ____ ____.
____ ______ _______ _____ ______ __________ ________ _____.
____ ____ ________ ______ __________.
____ _________ ________ __________ ________ ________.
_________ _________ _______ ____ ___.
_____ _____ ___ ______ ____ _____.
_____ __________ ______ ______ __________ _____ _____ _________ _______ ___ _______.
_________ _________ ______ _____ _____ ______ _______ __________ ______ ____.
_______ ______ _________ ____ _____ _____ ___ _________ ______ ________.
___ _________ _________ _______ __________ _________ _________.
______ __________ _______ _________ ______ ____ _____ ______.
________ ________ ___ __________ ________ ___ ________ ___ ____ ___.
_____ ______ ______ ________ ________ ___ ___ _____ ____ _______ ________ __________.
_________ ____ ___ __________ _________ ____ ________ ___ ________ ___ ____.
_______ ____ _________ ______ ____ ________.
_________ _________ _________ _________ ________ _________ _______ ________ ____.
________ ________ ____ __________ ___ _____.
__________ ________ ______ __________ _____ ____ _____.
_____ _______ ______ _________ _______ ____ ______ ____.
_____ __________ ________ _____ ____ ___ ___ _____ ____ _______ ______.
____ _________ _______ ________ ____ ____.
______ _________ ________ ________ _____ _________ ____ _________ ___ _________ _____.
________ ___ __________ _____ _________ ________.
_______ _______ _______ _________ _____ ___ __________ ____.
______ ________ _________ _____ ________ _______ _____ _____ ______ ________.
______ _____ _______ _____ ___ _________ _________ __________ _______.
__________ _________ _____ ____ ______ ________ _________.
____ ________ __________ ________ __________ __________ _____ _________.
______ _____ ____ _______ ______ ________ _________ _______ _________ ______.
___ _______ ______ __________ ________ _____ ____ ________ __________ __________ ___.
_________ ____ ________ ________ ____ _______ __________ _______ ____.
____ _____ ________ _____ ______.
_______ ______ _________ ________ _____.
___ _________ ___ _____ _________ _______ _______ _____ ____.
________ _________ ______ _________ ____ _______ ____ ___.
___ __________ ______ _________ _________ ____ _______.
___ ______ ____ _______ ________ ___ __________ _______ _________ _______.
__________ _________ _____ ______ _________ ___ ___ _________ ___ _________ ___ ______.
______ _______ __________ _____ _____ ____.
______ ___ ______ ______ _________ ______ ____.
__________ ____ ____ ___ _________ _______ __________ _____ ________ ______ ______ ______.
______ ______ ______ ______ _________ ________ __________ _________ __________ _____ _______ ______.
_________ _______ _______ _______ ______ _________ ________ ____ ___ ____.
____ ______ ________ ___ ___ ______.
____ __________ _________ ___ ___ ________ ___ ________.
______ ______ _______ ___ _________ _______.
______ ________ _________ ________ ___ ________ ___ ___ ______.
_________ ______ ____ ____ __________ _______ _______ _____ _______.
_______ _____ _____ ____ ________ __________ __________ ______ ___ _____ _____ _________.
_____ _________ _____ ______ ___ ___ ____ ____.
________ ___ _____ _______ ______ _____ ________ ___ ___ _____ _________ __________.
____ _______ _______ _________ _____ _________ _______ _________ ________ ___.
________ ___ ________ __________ ______ _____ __________ __________ _______ __________.
___ ____ ____ _________ _________ ________ ____ _______.
__________ _______ ____ ____ ____ ________ ________ ________.
____ ___ _____ ______ ____ _________.
__________ __________ ________ _______ ________ ____.
_____ ______ _____ __________ ___ ___ ____ _________ ________ _____ _____.
____ ____ ___ ______ _______ _____.
___ __________ ______ _____ ___ ________ __________.
__________ ________ ____ ______ ______ ______ _____ ___ _________.
_______ _______ ___ _____ ________ _____.
_______ ___ ________ ____ _______.
___ __________ ______ _______ _________ ________ ________ _______ ____ ______ ____ ____.
______ _______ _________ ____ _____ ______ _______ ________ _________.
_________ __________ ______ ___ ______ ___ ______ ________ _____ ___ _____.
__________ ____ _________ __________ ______ ________.
____ ____ ____ ___ _____ ____ ___ __________ _______ _____ _________.
___ _________ _____ _________ ______ _____ ____ ___ _________ ___ ________ ___.
_________ _______ __________ _____ _______ ________ _______ ____.
_________ _________ _________ ______ _____ __________ ________.
________ __________ ___ _______ _______ _________ _______.
_________ _____ ___ ______ ____ ________ _______ ___ _______ ________ ____ _________.
________ _________ _________ _______ _________ ________ ___ ____ ___ _______ __________.
__________ ______ _______ _____ _____ _______ __________ _____ ______.
_____ ______ _______ _________ _____ _____ _________ ____.
______ ___ _________ ______ ____ ________ __________ ________ ________.
_______ ____ ________ ____ _______ ____ __________ ______ ______ ________.
____ _____ _______ ___ _____ ____ ______ ___ _____ __________.
_________ ____ __________ ____ ___ ____ _____ ___ __________ ____ __________.
____ ______ ______ ______ _______ __________ ________ __________ ____.
______ _________ ______ _______ ____ ___ _____.
______ _____ _______ ________ __________ ________ ____ ___ _________ _____.
________ ___ __________ ___ ______ ________ ______ ___ ____ _____ _____.
________ ________ _________ ______ _________ ___ _____ ___ ________.
Get Full Answer on WhatsApp
IGNOU NEWS
Assignment Submission Last Date Extended Till 30 June 2026 Click Here★★★IGNOU June 2026 TEE Date Sheet Released Click Here★★★