Computer Science, asked by haryishkumaran16, 4 months ago

Write a Python function frequency(l) that takes as input a list of integers and returns a pair of the form (minfreqlist,maxfreqlist) where

minfreqlist is a list of numbers with minimum frequency in l, sorted in ascending order

maxfreqlist is a list of numbers with maximum frequency in l, sorted in ascending order

Here are some examples of how your function should work.

>>> frequency([13,12,11,13,14,13,7,11,13,14,12]) ([7], [13]) >>> frequency([13,12,11,13,14,13,7,11,13,14,12,14,14]) ([7], [13, 14]) >>> frequency([13,12,11,13,14,13,7,11,13,14,12,14,14,7]) ([7, 11, 12], [13, 14])​

Answers

Answered by Amaan2441
0

Answer:

k to do ok I'll buy you a jiffy I am a little bit of a jiffy to get it to me and my follower and mark

Answered by jatinoiliva
0

Answer:

don't know about it

Explanation:

mark me as brainlist follow me please ❣️❣️

Similar questions