Question #246820

write a python program to find averagne of given numbers
sample intput :1,2,3,4,5
sample output :3

Expert's answer

numbers = input().split(',')
print(sorted(list(map(int, numbers)))[len(numbers) // 2])

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS