Answer to Question #246820 in Python for harshitha

Question #246820
write a python program to find averagne of given numbers
sample intput :1,2,3,4,5
sample output :3
1
Expert's answer
2021-10-05T02:32:32-0400
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!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS