Question: Write a program ( called q 3 . py ) that initializes a list of 4 integers and prints the list in ascending order and

Write a program (called q3.py) that initializes a list of 4 integers and prints the list in ascending order and descending order. You will find the list.sort function helpful for it. You need to prompt the user for 4 numbers.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!