Answers for "find the median of input number in a list and print"

0

find the median of input number in a list and print

import statistics
array = []
n = int(input())
for _ in range(n):
    array.append(int(input()))
print (int(statistics.median(array)))
Posted by: Guest on December-16-2020

Code answers related to "find the median of input number in a list and print"

Python Answers by Framework

Browse Popular Code Answers by Language