Question: Pls write the combined code as per above output and rules in python. Use if else loop. Write a program to read project score and



Pls write the combined code as per above output and rules in python. Use if else loop.
Write a program to read project score and exam score from the keyboard and print a bar chart of the scores and a grade. Follow the example below: \begin{tabular}{r|l} 1 & Enter project score \\ 2 & 30 \\ 3 & \\ 4 & Enter exam score \\ 5 & 40 \\ 6 & \\ 7 & Total: 70 \\ 8 & \\ 9 & Project : ======= \\ 10 & Exam :======= \\ 11 & Total :============= \\ 12 & Grade : A \end{tabular} Extend the code you wrote for the exercise Grade Analyzer with the following additional feature. If the grade is determined to be ask the user if the grade should be withheld. If the user agrees, show th grade as NA instead of D. \begin{tabular}{r|l} 1 & Enter project score \\ 2 & 10 \\ 3 & \\ 4 & Enter exam score \\ 5 & 20 \\ 6 & \\ 7 & Total: 30 \\ 8 & \\ 9 & Grade is low. Withhold? y? \\ 10 & y \\ 11 & \\ 12 & Project : == \\ 13 & Exam :=== \\ 14 & Total :===== \\ 15 & Grade : NA \end{tabular} - Note how the colons (: ) are aligned. - Note the extra blank lines in the expected output. - The bar chart has one for each 5 marks 24 marks should be shown as - Assume all inputs are positive integers. Grading rules: : at least 25 marks for each component and at least 60 in total : at least one component has 25 or more marks and at least 50 in total c: at least 40 in total D : otherwise
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
