Write a Python function frequency(l) that takes as input a list of integers and returns a pair of the form (minfreqlist,maxfreqlist) where
Answers
Answered by
0
Answer:
def frequency(l):
a = [0, 0]
l.sort
a[0] = min(l)
a[1] = max(l)
return a;
Similar questions