Computer Science, asked by ganeshparking, 4 months ago

write a Python program to generate 6 Random numbers and print their mean Median Mode​

Answers

Answered by krishar2004
9

Answer:import random

import statistics as st

a= random.random()  

print(a, end = '')

b = random.random()  

print(b, end ='')

c = random.random()  

print(c, end ='')

d= random.random()  

print(d, end = '')

e = random.random()

print(e, end ='')

f = random.random()

print(f)

v = list((a,b,c,d,e,f))

print(v)

m1 = st.mean(v)

m2 = st.mode(v)

m3 = st.median(v)

print(m1, m2, m3)

Mark me as Brainliest

Similar questions