Python Code, why did only the last student's score get out put? Can you help me fix
Fantastic news! We've Found the answer you've been seeking!
Question:
Python Code, why did only the last student's score get out put? Can you help me fix it please?
Transcribed Image Text:
******University System******* Enter semester and year for which you are creating courses: Fall 2023 Entering course information Enter course name: CIS 365 Enter grading categories for CIS 365 5 letter max Category name: PE Enter total points for a single PE: 100 Do you have more categories to enter (Y/N)? Y Enter grading categories for CIS 365 5 letter max Category name: Quiz Enter total points for a single Quiz: 100 Do you have more categories to enter (Y/N)? n 0 Add another course (Y/N)? n Add students to CIS 365 course How many students do you want to enroll? 3 Enter student first and last name: ABD ABD Enter earned points for PE: 100 Enter earned points for Quiz: 46 Enter student first and last name: BSD bSD Enter earned points for PE: 50 Enter earned points for Quiz: 69 Enter student first and last name: ASD ASD Enter earned points for PE: 50 Enter earned points for Quiz: 70 0 Course Information for Fall 2023 Course 37822 - CIS 365 has 3 students: ABD, ABD - BSD, SD - ASD, ASD - PE: 50 / 100, Quiz: 70 / 100, Process finished with exit code 0 ******University System******* Enter semester and year for which you are creating courses: Fall 2023 Entering course information Enter course name: CIS 365 Enter grading categories for CIS 365 5 letter max Category name: PE Enter total points for a single PE: 100 Do you have more categories to enter (Y/N)? Y Enter grading categories for CIS 365 5 letter max Category name: Quiz Enter total points for a single Quiz: 100 Do you have more categories to enter (Y/N)? n 0 Add another course (Y/N)? n Add students to CIS 365 course How many students do you want to enroll? 3 Enter student first and last name: ABD ABD Enter earned points for PE: 100 Enter earned points for Quiz: 46 Enter student first and last name: BSD bSD Enter earned points for PE: 50 Enter earned points for Quiz: 69 Enter student first and last name: ASD ASD Enter earned points for PE: 50 Enter earned points for Quiz: 70 0 Course Information for Fall 2023 Course 37822 - CIS 365 has 3 students: ABD, ABD - BSD, SD - ASD, ASD - PE: 50 / 100, Quiz: 70 / 100, Process finished with exit code 0
Expert Answer:
Answer rating: 100% (QA)
Python version 36 Python program to create a system to store scores of students for a partcular semester in an university import random import os create an empty list of courses courses Course class c... View the full answer
Related Book For
Auditing and Assurance Services
ISBN: 978-0077862343
6th edition
Authors: Timothy Louwers, Robert Ramsay, David Sinason, Jerry Straws
Posted Date:
Students also viewed these computer engineering questions
-
As assistant controller for a small consulting firm, you are responsible for recording and posting the daily cash receipts and disbursements to the ledger accounts. After you have posted the entries,...
-
As manager of Fly-by-Night Airlines, you decide to allow customers 90 days to pay their bills. To encourage early payment, though, you allow them to reduce their bills by 1.5% if paid within the...
-
As an alternative to flextime, many companies allow employees to do some of their work at home. Individuals in a random sample of 300 workers were classified according to salary and number of...
-
What is the time value of money? Including present and future value. How would a financial expert interpret it?
-
For a simple random sample with replacement, with i = 1/N, show that (6.6) simplifies to Where the sum is over all n units in the sample (including units as many times as they appear in the sample)....
-
Sue is a pharmacist at Small Town Pharmacy that is registered with the DEA as a dispenser. Occasionally, other local pharmacies that run out of controlled substances request to purchase them from Sue...
-
Sun West Media Corporation had the following income statement and balance sheet for 2009 : Compute tor Sun West during 2009: a. Acquisition ol equipment. Sun West sold no equipment during the year....
-
Digital Software Inc., has two product lines. The income statement for the year ended December 31 shows the following: The products, Num 1 and Num 2, are sold in two territories, North and South, as...
-
On June 30, Bramble Corp. discontinued its operations in Mexico. On September 1, Bramble disposed of the Mexico facility at a pretax loss of $600,000. The applicable tax rate is 29%. Show the...
-
Virginia Semiconductor is a leading manufacturer of prime silicon substrates. The company, situated in Fredericksburg, Virginia, was founded in 1978 by Dr. Thomas G. Digges and his brother, Robert....
-
Reardon Pharmaceuticals issued a $2.7 million note payable to Nagel Chemicals in exchange for chemical products. Similar notes have an interest rate of 8 percent. Nagel Chemicals plans to pay Reardon...
-
A company wants to issue new 10-year, $1,000 face value bonds at par. The company currently has 7.75 percent coupon bonds on the market that sell for $983.74, make semiannual interest payments, and...
-
An investment will pay you $3045.73 in 2 years if you pay $2215.19 today. What is the implied rate of return? (Convert to a percent. Round to 2 decimal places.) This problem set includes questions...
-
Based on the documentary, INSIDE JOB by Charles Ferguson 1. The first part of the movie covers the Savings & Loan Crisis of the 1980's that arose after deregulation of the Savings & Loan industry....
-
Gator Incorporated reported taxable income of $1,500,000 this year and paid federal income taxes of $500,000. Included in the company's computation of taxable income is a $98,500 gain from the sale...
-
Based on this article website: (2018, September 16). How to Buy a House the Wall Street Way . WSJ. https://www.wsj.com/articles/how-to-buy-a-house-the-wall-street-way-1537102800 If you had to...
-
1. Trace and write the ouptut of each Python script: def func(x, y=2): num = 1 for i in range(y): num = num*x return num print (func(4)) min (lambda x, y: x if x < y else y) print(min(101.99,...
-
Write a paper detailing a geographic information system (GIS) of your own design that would utilize data in an original manner.
-
The most reliable evidence regarding the existence of newly- acquired computer equipment is a. Inquiry of management. b. Documentation prepared externally. c. Evaluation of the clients procedures. d....
-
B. Harper is surfing the Internet and finds a great pair of rollerblades at a really low price but he has never heard of the company and is concerned that the product he ordered may not be the...
-
Which of the following statements is not true with respect to the calculation of the upper limit on misstatements? a. The tainting percentage is determined based on the difference between the...
-
Fill in the blank: If two variables have a positive association, then large values of one variable are associated with __________________ values of the other.
-
Percentiles are values that divide a data set into hundredths. The values that divide a data set into tenths are called deciles, denoted D1,D2, ...,D9. Describe the relationship between percentiles...
-
For which of the following scatterplots is the correlation coefficient an appropriate summary? (a) (b) (c)
Study smarter with the SolutionInn App