Question: Question ( Remove duplicates and store in tuple ) Write a program that reads in integers as a one - line text, stores the non

Question
(Remove duplicates and store in tuple)
Write a program that reads in integers as a one-line text, stores the non-duplicated integers in descending order in a tuple. Display the tuple, the minimum, maximum, and average of the integers in the tuple, as shown in the following sample run.
Sample Run
Enter integers in one line: 4561323-2-31457
The tuple is (23,7,6,5,4,3,1,-2,-3)
Minimum is -3
Maximum is 23
Average is 4.888888888888889

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 Programming Questions!