subject
Computers and Technology, 02.10.2020 14:01 Ruchen

Write a Python program to do the following: (a)Ask the user to enter as many integers from 1 to 10 as he/she wants. Store the integers in a list. Every time after the user has entered an integer, use a yes/no type question to ask whether the user wants to enter another one. Display the list. (b)Display the largest element, the smallest element, the sum of all elements and the length of the list. (c)Calculate and display the average of the elements. (d)Reverse the order of the elements. Display the reversed list. (e)Move the last element to the front of the list, i. e., the last element becomes the first element while other elements remain the same. [Hint: Insert the last element to the front first, then delete the last element]

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 17:00
Match the following. 1. show grouping of word processing tasks that can be performed quick access toolbar 2. shortcut location for commonly used elements scroll bars 3. organized commands used to modify documents ribbon 4. used to align and measure content in a word screen zoom bar 5. vertical and horizontal bars that are used to navigate through a document contextual tabs 6. displays the name of the document in use ruler 7. allows users to enlarge or shrink a visual of a word document title bar
Answers: 2
question
Computers and Technology, 22.06.2019 19:30
Avariable definition defines the name of a variable that will be used in a program, as well as
Answers: 3
question
Computers and Technology, 23.06.2019 02:30
People with high self-esteem: accept their strengths and weaknesses. believe that failed experiences are failures of their whole self. feel good about who they are only when they reach total success. need positive external experiences to counteract negative feelings that constantly plague them.
Answers: 1
question
Computers and Technology, 23.06.2019 16:30
You have read about the beginnings of the internet and how it was created. what was the internet originally created to do? (select all that apply) share research. play games. communicate. share documents. sell toys
Answers: 1
You know the right answer?
Write a Python program to do the following: (a)Ask the user to enter as many integers from 1 to 10 a...
Questions
question
Mathematics, 28.11.2019 01:31
question
Mathematics, 28.11.2019 01:31
question
Mathematics, 28.11.2019 01:31
question
Chemistry, 28.11.2019 01:31
question
History, 28.11.2019 01:31
Questions on the website: 13722363