1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Tom [10]
2 years ago
10

Write python code that does the following: Ask the user to enter as many as number they want; Then find the sum and the average

of these numbers; Print both results. *Tip- you should use while loop and when the user enters a specific word, they can continue to add another number.
Computers and Technology
1 answer:
Hunter-Best [27]2 years ago
7 0

Answer:

It goes like:

______________________________

#taking inpit for n numbers user wanna enter and save it in a variable n,

n=int(input("Enter the no. of no you want to enter: ")

#While loop after initialising a varaible to make suure the loop runs specific number of times

a=0

sum=0

while a>n:

b=int(input("Enter the number: "))

sum+= a

# printing the sum and average after rounding sum/n upto 2 digits after decimal.

print("sum:", sum, "/naverage:", round(sum/n,2) )

______________________________

You might be interested in
Choose the term that matches each description.
lutik1710 [3]

Answer:

operating systems, word software, computer concepts for end users

Explanation:

operating systems allow users to interact with computer hardware and application software.

word software allows users to complete specific tasks, such as creating a document.

computer concepts for end users allows programmers to create new applications.

7 0
2 years ago
Discuss some design considerations that you should keep in mind when you want to design a professional-looking flyer or newslett
Korvikt [17]

A designer should always balance the placement of text and graphics and create room for every element to breathe. When this is followed, the flyer template will create a feeling of balance and calm.


Consider adding a border: Borders can help your flyer or newsletter stand out wherever it is placed. Selection of certain colors, Italics and ALL CAPS can draw attention to particular points in a text.


Boost contrast with style, color and font size: Always use font weight to differentiate sections of text. Many fonts offer regular, bold and light options for font weight.


Align text for a balanced look: A designer should consider using a grid system that contains intersecting vertical and horizontal lines that are often based on optimal proportions for the document’s size. Aligning text in the center will give a pleasant symmetrical look.






7 0
3 years ago
Read 2 more answers
WHY DO YOU DElete EVERY QUESTIONS THAT IS ASKED! Im a freaking guy, yes and i wont followers for my channel so leave me alone!
skelet666 [1.2K]

Answer:

okie

Explanation:

8 0
2 years ago
Read 2 more answers
Mention how to install antivirus software in your computer, either by following the instructions given on installation CDs or we
Tema [17]

Answer:

ionow please help me

Explanation:

5 0
3 years ago
Jeff has created a table to calculate the cost of raw materials that he purchases monthly. Cell A2 shows the fixed cost of the r
Luda [366]
=A2*D2
The above formula will allow calculation  of monthly cost of the first raw material.This is done by Multiplying the contents of cell A2 (Column A, Row 2) and cell D2 (Column D, Row 2). Here Cell A2 contains cost of the first raw material and Cell D2 contains number of units of the raw material produced  each month. After finding the monthly cost of the first raw material in this way, the monthly cost of other raw materials can simply be calculated by dragging down the formula to apply to the rows below.
3 0
3 years ago
Read 2 more answers
Other questions:
  • Anna is looking for a job. Which two types of skills would she find necessary to secure a job ?
    5·1 answer
  • Consider the following code segment.
    15·1 answer
  • An interface is a class that contains only the method headings and each method heading is terminated with a semicolon. True Fals
    7·1 answer
  • The term ____ describes primary storage devices that are implemented as microchips, can read and write with equal speed, and can
    8·1 answer
  • What is the language of computers?
    9·1 answer
  • Which line of code will eliminate the element “calculator” from an array of supplies?
    13·1 answer
  • _______________ is a computer networking protocol used by hosts to retrieve IP address assignments.
    11·1 answer
  • Select the correct answer. Which step references adding color, size, and media format in your digital portfolio? A. identifying
    6·1 answer
  • Question 1 of 10
    13·1 answer
  • What would be an ideal scenario for using edge computing solutions?
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!