Please enter some positive integers, hitting return after each one. Enter 'q' to quit: 3 2 2 You entered 2 unique numbers: 23 with minimum value: 2 and maximum value: 3 Please enter some positive...


Write a Python program that removes the duplicates from a list.


Use inputs a list of integers from the user, and removes the duplicate list elements, plus outputs their min and max values. (the program should have more than 1 function and leave comments as explanations of what does the code does).


Ex (in pictures below):


Please enter some positive integers, hitting return after each one. Enter 'q' to quit:<br>3<br>2<br>2<br>You entered 2 unique numbers:<br>23<br>with minimum value: 2 and maximum value: 3<br>Please enter some positive integers, hitting return after each one. Enter 'q' to quit:<br>10<br>9<br>1<br>10<br>You entered 4 unique numbers:<br>10 591<br>with minimum value: 1 and maximum value: 10<br>Please enter some positive integers, hitting return after each one. Enter 'q' to quit:<br>2.5<br>You entered 0 unique numbers:<br>Please enter some positive integers, hitting return after each one. Enter 'q' to quit:<br>4<br>5<br>-3<br>You entered 2 unique numbers:<br>45<br>with minimum value: 4 and maximum value: 5<br>Please enter some positive integers, hitting return after each one. Enter 'q' to quit:<br>55<br>22<br>22<br>75<br>42<br>68<br>You entered 5 unique numbers:<br>55 22 75 42 68<br>with minimum value: 22 and maximum value: 75<br>

Extracted text: Please enter some positive integers, hitting return after each one. Enter 'q' to quit: 3 2 2 You entered 2 unique numbers: 23 with minimum value: 2 and maximum value: 3 Please enter some positive integers, hitting return after each one. Enter 'q' to quit: 10 9 1 10 You entered 4 unique numbers: 10 591 with minimum value: 1 and maximum value: 10 Please enter some positive integers, hitting return after each one. Enter 'q' to quit: 2.5 You entered 0 unique numbers: Please enter some positive integers, hitting return after each one. Enter 'q' to quit: 4 5 -3 You entered 2 unique numbers: 45 with minimum value: 4 and maximum value: 5 Please enter some positive integers, hitting return after each one. Enter 'q' to quit: 55 22 22 75 42 68 You entered 5 unique numbers: 55 22 75 42 68 with minimum value: 22 and maximum value: 75

Jun 07, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here