need help in Python computer work

need help in Python computer work

For this assignment, you’ll be working with lists and user input. When you run your program, it should behave like the program below:

Enter a number 1_x000D_
Enter a number 2_x000D_
Enter a number 3_x000D_
Enter a number 3_x000D_
Number already entered!_x000D_
Enter a number bummer_x000D_
That is an invalid number_x000D_
Enter a number 4_x000D_
Enter a number 9_x000D_
Enter a number 8_x000D_
Enter a number 7_x000D_
Enter a number 6_x000D_
Enter a number 5_x000D_
Enter a number 11_x000D_
The largest number you entered was 11_x000D_
The smallest number you entered was 1_x000D_
The average of all the numbers you entered was 5.6_x000D_
The numbers you entered, in decreasing order, are_x000D_
[11, 9, 8, 7, 6, 5, 4, 3, 2, 1]_x000D_

In other words, your program will need to ask the user to enter 10 numbers and store them inside of a list. If the user enters a non-number, you must display a message and keep on inputting numbers. If the user enteres a number that is already in the list, you should display an error and keep on inputting numbers.

Once all 10 numbers have been entered by the user, you will need to print out information about the numbers the user input. You will need to display the largest number, the smallest number, the average, and the list of numbers in decreasing order.

"You need a similar assignment done from scratch? Our qualified writers will help you with a guaranteed AI-free & plagiarism-free A+ quality paper, Confidentiality, Timely delivery & Livechat/phone Support.


Discount Code: CIPD30



Click ORDER NOW..

order custom paper