Write the python program to solve the following series A) Using for loop [3.5 Marks] B)...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Write the python program to solve the following series A) Using for loop [3.5 Marks] B) Using while loop [3.5 Marks] 10x 9x 8x 9** 9 * 8 7Y * ******KA nx n-1/ Consider an array of student marks with the following values 5.5, 6.8, 7.2, 8.5, 9.5, 10.1, 11.2, 12.3, 13.4 Write a single python program and perform the following A) Create an student marks array with above values [1 Mark] B) Calculate the average marks [3 Marks] c) Display the marks in highest to lowest [3 Marks] Write the python program to solve the following series A) Using for loop [3.5 Marks] B) Using while loop [3.5 Marks] 10x 9x 8x 9** 9 * 8 7Y * ******KA nx n-1/ Consider an array of student marks with the following values 5.5, 6.8, 7.2, 8.5, 9.5, 10.1, 11.2, 12.3, 13.4 Write a single python program and perform the following A) Create an student marks array with above values [1 Mark] B) Calculate the average marks [3 Marks] c) Display the marks in highest to lowest [3 Marks]
Expert Answer:
Answer rating: 100% (QA)
Heres the Python program to solve the given series using a for loop python x intinputEnter the v... View the full answer
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date:
Students also viewed these programming questions
-
Use matrices A and B. Show that (A + B)(A B) A 2 B 2 . A = 1 1-2 3 0 B = -3 1 2 - 1
-
Determine the x-and y-intercepts on the graph of the equation. Draw a conclusion about what the constants a and b represent in this form. 2x 3 5 1
-
12 7. In a group of 7 employees and 5 non-employees, four people must be chosen to ride together in a company vehicle with four seats. How many seating arrangements are possible if at least two...
-
Explain how a slight (but smooth) contraction differs from a vigorous contraction of the same muscle. Use the concepts of multiple motor unit summation.
-
For each of the following pairs of polymers, do the following: (1) state whether or not it is possible to determine whether one polymer is more likely to crystallize than the other; (2) if it is...
-
(a) To what angle \(\theta_{\max }\) does a coefficient of static friction of 1 correspond? (b) Put, in turn, a coin, a paper clip, a cell phone, and a comb on the cover of this book and tilt the...
-
List the master files that would be necessary to implement the CRUISE AVAILABILITY INQUIRY.
-
1. In connection with the circuit drawn below, the value of current flowing through 2 kQ resistor is 10-4A. 2. 5V 1 www 2. 3. 4. 5. 6. 7. An audio signal Vm = 20 sin 2(1500t) amplitude modulates a...
-
Beth R. Jordan lives at 2322 Skyview Road, Mesa, AZ 85201. She is a tax accountant with Mesa Manufacturing Company, 1203 Western Avenue, Mesa, AZ 85201 (employer identification number 11-1111111)....
-
An epoxy mixer purchased for $3,300 has an estimated salvage value of $500 and expected life of 3 years. An average of 25 pounds per month will be processed by the mixer. a) Calculate the annual...
-
The equal protection clause has been interpreted to ban separate criminal codes for separate classes of people. Three separate standards are used in equal protection clause analysis: strict scrutiny...
-
Federalism is a system of government where power is constitutionally divided between a central governing body (the federal government, for example) and various constituent units (the states). The...
-
In a simple Linde gas-liquefaction plant (see Fig. 18.13), air is taken in at the ambient conditions of 1 bar and \(300 \mathrm{~K}\). The water-jacketed compressor delivers the air at 200 bar and...
-
Double jeopardy occurs when, for the same offense, a person is (1) reprosecuted after acquittal, (2) reprosecuted after conviction, or (3) subjected to separate punishments for the same offense. ...
-
a. Find the partial-fraction expansion. b. AVerify (a) by using the residue command in MATLAB. \(\frac{s}{(s+1)\left(s^{2}+2 s+2 ight)}\)
-
Your company has a Cost of Capital of 10%. You are presented with the results of a CapitalInvestment Appraisal of FOUR different projects (see below). Which project should be accepted? Payback Period...
-
Why is it necessary to study the diffusion of molecules in biological systems?
-
Mary paid $2,000 of state income taxes in 2012. The total sales tax she paid during 2012 was $5,500, which included $3,000 for the cost of a new car. How should Mary treat the taxes paid on her 2012...
-
David and Darlene Jasper have one child, Sam, who is 6 years old. The Jaspers reside at 4639 Honeysuckle Lane, Los Angeles, CA 90248. David's Social Security number is 577-11-3311, Darlene's is...
-
In 2012, Margaret and John Murphy are married taxpayers who file a joint tax return with AGl of $25,000. During the year they incurred the following expenses: Hospitalization insurance...
-
Consider a second-order system whose transfer function is in standard form as in Equation 10.7. Assume that the requirements for the system unit-step response are rise time \(t_{\mathrm{r}} \leq 0.1...
-
The transfer function of a dynamic system is given by \[G(s)=\frac{s+4}{s^{5}+2 s^{4}+3 s^{3}+8 s^{2}+4 s+5}\] Determine the stability of the system a. Using Routh's stability criterion without...
-
The unit-step response of a dynamic system is shown in Figure 10.12. Find the transfer function of the system if it can be approximated as \(a /\left(s^{2}+2 \zeta \omega_{n} s+\omega_{n}^{2}...
Study smarter with the SolutionInn App