2 6 3 1 8 12 2 9 10 3 4
find mean,median,mode
import statistics
data = [2, 6, 3, 1, 8, 12, 2, 9, 10, 3, 4]
x = statistics.mean(data)
y = statistics.median(data)
z = statistics.mode(data)
print("Mean is :", x)
print("Median is :", y)
print("Mode is :", z)
Comments
Leave a comment