Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Looking to get help with this assignment. There needs to be 6 inputs, 1 for the students name and the other 5 for the different

Looking to get help with this assignment. There needs to be 6 inputs, 1 for the students name and the other 5 for the different test scores. I'm also unsure of how to format the program output seen in the picture on page 2. Also it is very important that there are no TABS used.

image text in transcribed

image text in transcribed

image text in transcribed

Introduction The purpose of this assignment is to familiarize you with the writing Python scripts that make use of the input statement for five grades and will calculate the letter grade and average grade and average letter grade. Test Average and Grade Write a program that asks the user to enter the student name followed by five test scores. The program should display a letter grade for each score and the average test score. Write the following functions in the program: main - This is the main function which calls all the functions and displays the output. calc_average - This function should accept five test scores as arguments and return the average of the scores. determine grade - This function should accept a test score as an argument and return a letter grade for the sore based upon the following scale: 90-100:A8089:B7079:C6069:DBelow60:F Program Input The program should prompt the user in this order: - Student Name - Test Score 1 - Test Score 2 - Test Score 3 - Test Score 4 - Test Score 5 Program Calculation The program should determine the letter grade for each score and average score of all five scores, along with the average letter grade. Program Output Shown below is the expected output produced by the program using the sample input: Your output should look like the output above and everything should align correctly You are required to use functions for this assignment. Formatting numbers is covered on pages 68-73 in the textbook. Examples can be found in the Chapter 2 PowerPoint, slide 36. Before submitting, Refer to the Python Programming Coding Standards Program Notes Students will need to create a file: fl_Assignment_1B.py Where f is the students first letter of their first name and 1 is the first letter of their last name. The Python file is required to have a programmer header containing the following: Submit Instructions - Before submitting, Refer to the Python Programming Coding Standards document on Canvas. - Correct any spelling or grammar errors. - Submit file via Canvas's submission tool

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

JDBC Database Programming With J2ee

Authors: Art Taylor

1st Edition

0130453234, 978-0130453235

More Books

Students also viewed these Databases questions