python program

hrutikkshroff

Test Scores and Course Grade

Write a program that:

  1. Includes the following line comments at the top of the document:
    • Python Homework #2: Test Scores and Course Grade
    • Author: Your Name
    • School: Pace University
    • Course: CIS101
    • Instructor: Professor Michael Sidaras-Tirrito
    • Semester: Fall 2018
    • Date Created: An actual date you created the file
  2. Initializes the following:
    • A string variable named name, defaulted to empty string
    • A string variable named course, defaulted to empty string
    • A numeric variable named excelMidterm, defaulted to 0
    • A numeric variable named pythonMidterm, defaulted to 0
    • A numeric variable named excelFinal, defaulted to 0
    • A numeric variable named pythonFinal, defaulted to 0
  3. Collects user input of the name, the course, the Excel Midterm Grade, the Python Midterm Grade, the Excel Final Exam Grade and the Python Final Exam.
  4. Calculates the Course Average as the sum of the exams divided by 4 and stores the result in a new variable named courseAverage.
  5. Displays the values stored in each variable on the screen, using the following example format and accompanying additional string literal text:
    • Using if then elif statements to control outputting the correct letter grade based on the Course Average to Letter Grade Conversion Table listed below
  • 8 years ago
  • 35
Answer(6)

Purchase the answer to view it

NOT RATED
  • assignment1.docx
  • assignment3.docx
  • assignment2.docx

Purchase the answer to view it

NOT RATED

    Purchase the answer to view it

    NOT RATED

      Purchase the answer to view it

      NOT RATED

        Purchase the answer to view it

        NOT RATED
        • py-basic-variables.zip

        Purchase the answer to view it

        NOT RATED
        • TestScoresAssignment.py