3. Write a python program to arrange the list of number as in the output below in increasing order.
The output is:
number_list = [22, 5, 76, 100, 12.3, 9]
Answer: The number_list arranged in increasing order: [5, 9, 12.3, 22, 76, 100]
Answer:
number_list = [22, 5, 76, 100, 12.3, 9] print("The number_list arranged in increasing order: ", (sorted(number_list)))
More Exercises:
Python String ExercisesMore Numpy Exercises:
Numpy String ExercisesMore Pandas Exercises:
Pandas Series ExercisesMore Tutorials:
Python Installation - Linux (Ubuntu)