Fill This Form To Receive Instant Help
Homework answers / question archive / Write a Python program that creates a list of integers of size 10, lst, and populates the list with randomly generated integers in range of [12, 61]
Write a Python program that creates a list of integers of size 10, lst, and populates the list with randomly generated integers in range of [12, 61]. Then it sorts, in ascending order, the elements of 131: according to the values obtained from the "map" function defined in part (a). In addition, if the map values for two or more numbers are equal, your function arranges these numbers in ascending order based on their magnitudes. You must call your map function defined in part (a) above. For example, lst : [32, 48, 3o, 12, 33, 23, 22, 57, 61, 34] after sorting: lst : [23, 34, 57, 12, 61, 22, 32, 3o, 33, 48] Upload your python script (oPY) file below.