Instructions Project Description: I would like everyone to copy the code written in the image saved...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Instructions Project Description: I would like everyone to copy the code written in the image saved in this assignment. This assignment uses all the programming we will cover for the semester. The program uses a function, if statement, loop, variables, input, comments, and imports a library. Needed for this assignment: - Replit . These instructions To be submitted for this assignment: . Your python file, named LastNameFirstinitialHWPython1.py . A screen shot of your output file, saved as LastNameFirstInitialHWPython1 Output.jpg and LastNameFirstInitialHWPython2Output.jpg Instructions: The following table shows the steps you will need to follow and the rubric that your instructor will use to grade your assignment: Step 1 2 Instructions Open up Replit and create a file named LastNameFirstInitial HWPython1.py Download and open the HW Python 1 Letter Grade Code image file and type the code into your Replit account using your browser. Make sure you write your personal information at the top of the code. DO NOT ENTER THE NUMBERS ON THE RIGHT SIDE, THIS IS ONLY TO BE TREATED AS A GUIDE TO HELP WRITE AND TROUBLESHOOT THE PROGRAM Points Possible 20 20 20 3 Once you have typed in all the code, check for any typos and errors 5 4 Run the program by clicking in the Green Run button at the top. Click over to the right side, in the Console window and add a 4th value. Click enter after you entered the value into the program.to complete the program. 15 5 If there are errors or it doesn't run, compare your output with HW Python 1 Letter Grade Code and fix any errors. 5 9 If program doesn't work, check again for errors in Step 5 and correct them again if necessary. Repeat until the program runs without errors. 5 7 8 Once the code works, create screen shots of 2 different runs of your output and save it as LastNameFirstInitial HWPython1Output.jpg and LastNameFirstInitial HWPython2Output.jpg. Download a copy of your LastNameFirstInitialHWPython1.py file to your computer. Upload the LastName FirstInitialHWPython1.py and LastNameFirstInitialHWPython1.Output.jpg and LastNameFirstInitial HWPython2Output.jpg files to the appropriate link in the LMS. 10 10 10 100 1 2 #Your name here # Your email here 3 #Today's date 4 5 import random 6 7 8- def letter_grade(final_score): 9 10 11- 12 user = "Your Name Here" print (f"Your overall grade is {final_score}") if (final_score >= 90): print(f"{user}, your score is a {final_score), congrats your letter grade is an A") elif (final score >= 80): print(f"{user}, your score is a {final_score}, great job your letter grade is a B") elif (final score >= 70): print(f"{user}, your score is a {final_score), congrats, your letter grade is a C") elif (final score >= 60): print(f"{user}, your score is a {final_score), phew, you passed with a D") elif final score < 60: print(f"{user}, your score is a {final_score}, sorry, you do not have enough points to pass the class") else: print(f"{user}, your score is a {final_score}, is not valid") my_count = 0 total_score = 0 13- 14 15 16 17- 18 19- 20 21~ 22 23 24 25 26 27~ 28 29 30 31 32 33 score input int(input("Enter a value between 50 - 100 " ) ) 34 my count + 1 35 print (f"Grade {my_count] = {score_input}") 36 total score += score_input 37 average score = total_score/my_count 38 39 letter_grade(average_score) 40 for i in range(3): grades random.randint(50, 100) print(f"Grade (i+1} = {grades}") my_count += 1 total score + grades 41 Instructions Project Description: I would like everyone to copy the code written in the image saved in this assignment. This assignment uses all the programming we will cover for the semester. The program uses a function, if statement, loop, variables, input, comments, and imports a library. Needed for this assignment: - Replit . These instructions To be submitted for this assignment: . Your python file, named LastNameFirstinitialHWPython1.py . A screen shot of your output file, saved as LastNameFirstInitialHWPython1 Output.jpg and LastNameFirstInitialHWPython2Output.jpg Instructions: The following table shows the steps you will need to follow and the rubric that your instructor will use to grade your assignment: Step 1 2 Instructions Open up Replit and create a file named LastNameFirstInitial HWPython1.py Download and open the HW Python 1 Letter Grade Code image file and type the code into your Replit account using your browser. Make sure you write your personal information at the top of the code. DO NOT ENTER THE NUMBERS ON THE RIGHT SIDE, THIS IS ONLY TO BE TREATED AS A GUIDE TO HELP WRITE AND TROUBLESHOOT THE PROGRAM Points Possible 20 20 20 3 Once you have typed in all the code, check for any typos and errors 5 4 Run the program by clicking in the Green Run button at the top. Click over to the right side, in the Console window and add a 4th value. Click enter after you entered the value into the program.to complete the program. 15 5 If there are errors or it doesn't run, compare your output with HW Python 1 Letter Grade Code and fix any errors. 5 9 If program doesn't work, check again for errors in Step 5 and correct them again if necessary. Repeat until the program runs without errors. 5 7 8 Once the code works, create screen shots of 2 different runs of your output and save it as LastNameFirstInitial HWPython1Output.jpg and LastNameFirstInitial HWPython2Output.jpg. Download a copy of your LastNameFirstInitialHWPython1.py file to your computer. Upload the LastName FirstInitialHWPython1.py and LastNameFirstInitialHWPython1.Output.jpg and LastNameFirstInitial HWPython2Output.jpg files to the appropriate link in the LMS. 10 10 10 100 1 2 #Your name here # Your email here 3 #Today's date 4 5 import random 6 7 8- def letter_grade(final_score): 9 10 11- 12 user = "Your Name Here" print (f"Your overall grade is {final_score}") if (final_score >= 90): print(f"{user}, your score is a {final_score), congrats your letter grade is an A") elif (final score >= 80): print(f"{user}, your score is a {final_score}, great job your letter grade is a B") elif (final score >= 70): print(f"{user}, your score is a {final_score), congrats, your letter grade is a C") elif (final score >= 60): print(f"{user}, your score is a {final_score), phew, you passed with a D") elif final score < 60: print(f"{user}, your score is a {final_score}, sorry, you do not have enough points to pass the class") else: print(f"{user}, your score is a {final_score}, is not valid") my_count = 0 total_score = 0 13- 14 15 16 17- 18 19- 20 21~ 22 23 24 25 26 27~ 28 29 30 31 32 33 score input int(input("Enter a value between 50 - 100 " ) ) 34 my count + 1 35 print (f"Grade {my_count] = {score_input}") 36 total score += score_input 37 average score = total_score/my_count 38 39 letter_grade(average_score) 40 for i in range(3): grades random.randint(50, 100) print(f"Grade (i+1} = {grades}") my_count += 1 total score + grades 41
Expert Answer:
Answer rating: 100% (QA)
I see that you have shared an assignment instruction and Python code which appears to be a part of a ... View the full answer
Related Book For
Accounting Information Systems
ISBN: 9780132871938
11th Edition
Authors: George H. Bodnar, William S. Hopwood
Posted Date:
Students also viewed these algorithms questions
-
Write a critique of the analysis prepared by your client. Specifically address the following questions: Was the analysis completed correctly, or are there errors in the calculations? If the analysis...
-
CANMNMM January of this year. (a) Each item will be held in a record. Describe all the data structures that must refer to these records to implement the required functionality. Describe all the...
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
1 of 4 Set 1 UIBS United International Business Schools Class Work Mergers and Acquisitions 1. Rudy's, Inc. and Blackstone, Inc. are all-equity firms. Rudy's has 1,500 shares outstanding at al market...
-
The proportions of the disk in Fig. 48 that are orange and blue are 1/4 and 1/3, respectively. Find the proportion of the disk that is green. 14 | -|3
-
A proposed new project has projected sales of $125,000, costs of $59,000, and depreciation of $12,800. The tax rate is 35 percent. Calculate operating cash flow using the four different approaches...
-
(Efficient frontier) This question relates to the data in the previous question. Calculate and graph the efficient frontier of the stock portfolios composed of stocks X and Y. A B C 1 RETURN...
-
Page Engineering designs and constructs air conditioning and heating systems for hospitals and clinics. Currently the companys staff is overloaded with design work. There is a major design project...
-
If the function fgiven by f(x) = * has an average value of 9 on the closed interval [0, k], then k =
-
Find which one of the following statements is true regarding the horizontal or oblique asymptotes of the given function and crossing of the graph with the horizontal or oblique asymptotes: x2 - 2x-1...
-
Jefferson qualifies for an income-adjusted monthly payment of $425. If Jefferson has a subsidized student loan of $48,000 at an annual interest rate of 4% (compounded monthly), how many months are...
-
Henrietta's Pine Bakery Corporation would like to raise $75 million to finance its expansion into new markets. The company will sell new shares of equity via a general cash offering to raise the...
-
What is the ideal policy or policies for minimizing job outsourcing to foreign countries? In other words, which policies can we take to make sure good paying jobs stay in the U.S.? List and explain a...
-
List and discuss three industry-standard methods for evaluating your mutual fund manager's performance. Give one example for each method suggested. List and discuss three potential issues when trying...
-
Please answer the following questions, thank you! 1. Who was the prime suspect in the mysterious death of Tycho Brahe 2. Explain how knowing data about a planet's moon can help determine the planet's...
-
Ross, S. A., Westerfield, R. W., Jaffe, J. F., & Jordan, B.D. (2021). Corporate finance: Core principles andapplications (6th ed.). McGraw-Hill.These chapters look at the financial statements 1 answer
-
A test car is driven a fixed distance of n miles along a straight highway. (Here n Z+.) The car travels at one mile per hour for the first mile, two miles per hour for the second mile, four miles...
-
Compare the flow of inventory costs between merchandisers and manufacturers.(Appendix)
-
(Mortgage + EAIR + processing fee) Your local bank has offered you a 20-year, $100,000 mortgage. The bank is charging 1.5 points, with processing costs of $750; both points and processing costs are...
-
How is cost of goods sold determined?(Appendix)
Study smarter with the SolutionInn App