Design a program that uses a loop to build a list named valid_numbers that contains only the
Question:
Design a program that uses a loop to build a list named valid_numbers that contains only the numbers between 0 and 100 from the numbers list below. The program should then determine and display the total and average of the values in the valid_numbers list.
numbers = [74, 19, 105, 20, −2, 67, 77, 124, −45, 38]
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Answer rating: 66% (3 reviews)
Python numbers 74 19 105 20 2 67 77 124 45 3...View the full answer
Answered By
Nazrin Ziad
I am a post graduate in Zoology with specialization in Entomology.I also have a Bachelor degree in Education.I posess more than 10 years of teaching as well as tutoring experience.I have done a project on histopathological analysis on alcohol treated liver of Albino Mice.
I can deal with every field under Biology from basic to advanced level.I can also guide you for your project works related to biological subjects other than tutoring.You can also seek my help for cracking competitive exams with biology as one of the subjects.
3.30+
2+ Reviews
10+ Question Solved
Related Book For
Question Posted:
Students also viewed these Computer science questions
-
A researcher wanted to find out if there was difference between older movie goers and younger movie goers with respect to their estimates of a successful actors income. The researcher first...
-
3 When 2-butyne reacts with aqueous H2SO4 in the presence of HgSO4, the major product is: * (1 Point) Aldehyde Ketone Alcohol Carboxylic acid None of the above
-
Managing Scope Changes Case Study Scope changes on a project can occur regardless of how well the project is planned or executed. Scope changes can be the result of something that was omitted during...
-
Angela Monterey has a five-year car loan for a Jeep Wrangler at an annual interest rate of 6.7% and a monthly payment of $609.50. After 3 years, Angela decides to buy a new car. What is Angela's loan...
-
1. Evaluate this case using the three elements of the fraud triangle to identify the following: a. Potential pressures for Chris to commit fraud. b. Potential opportunities for Chris to commit fraud....
-
Ozark Corporation reported net income of $ 100 $ 100 ,000 for 20X5. The income statement revealed sales of $ 1 $ 1 ,000,000; gross profit of $ 520 $ 520 ,000; selling and administrative costs of $...
-
Describe platform capitalism and the gig economy and assess its relation to social stratification.
-
Video Company, Inc., produces and markets two popular video games, High Ranger and Star Bounder. The closing account balances on the companys balance sheet for last year are as follows: Cash,...
-
Based on the case studies, which cover different companies across countries sustaining different issues and which collapsed at different times, and any other research/resources/similar case studies,...
-
What will the following code display? numbers = list(range(3)) print(numbers)
-
Write a statement that uses the list and range functions to create a list of the numbers from 1 to 100.
-
The graph of the corresponding equation of a linear inequality is a line that separates the xy-plane into two regions. The two regions are called_______.
-
Explain deinstitutionalization. What was the purpose of deinstitutionalization? What have been the consequences of deinstitutionalization? How is deinstitutionalization related to the...
-
Who is more accountable for the health risks associated with smoking: the tobacco companies or the people who decide to smoke cigarettes? Explain your reasoning.
-
1. Distinguish between "puffery" ("this car hugs the road like a Ferrari") from statements of fact ("this Mustang accelerates from zero to 60 m.p.h. in 4 seconds"). The former is definitely an...
-
JUST 1030: Special Criminal Laws 2.1 Comparison table Value: 35 points I. Identification of Offences Instructions : In this part, you should write the title of the crime. Crime #1 Crime #2 Crime #3...
-
consider what they might have missed in their list. Did their list open your eyes to one or more things you missed yourself? How to respond to this post? My list was pretty simple: I wake up, drive...
-
Answer the following questions for the sampling distribution of the sample mean shown. (a) What is the value of x? (b) What is the value of x? (c) If the sample size is n = 9, what is likely true...
-
Ann hires a nanny to watch her two children while she works at a local hospital. She pays the 19 year-old nanny $125 per week for 48 weeks during the current year. a. What is the employers portion of...
-
Design a program that uses nested loops to display a multiplication table for the numbers 1 through 12. The programs output should look like this: and so forth.. = 10 = 0 1 * 1 = 1 1 * 2 = 2 13 = 3
-
Design a program that asks the user for a series of names (in no particular order). After the final persons name has been entered, the program should display the name that is first alphabetically and...
-
Design a program that calculates the amount of money a person would earn over a period of time if his or her salary is one penny the first day, two pennies the second day, and continues to double...
-
I A particle of unit mass (i.e. m = 1) moves in one dimension under the influence of a force F. Denoting its displacement by x and velocity by vc, find the most general form for x(t) for the case...
-
Suppose that you have a sample of material B in the shape of a cylinder of length 12 cm and diameter 1.5 cm. The Young's modulus of material B is 85 GPa. In order to stretch the sample by 0.25 mm...
-
= 3. You are given a high modulus carbon fiber (Ef = 380 GPa, vf = 0.19) and epoxy (Em: 3.2 GPa, vm = 0.42) to make into a unidirectional long fiber composite. Assume that the fibers and matrix are...
Study smarter with the SolutionInn App