PYTHON PROGRAMMING LANGUAGE

PYTHON PROGRAMMING LANGUAGE

It is the galactic year 62.53. The Cruz Space Synergy Industries. (CSSI) has grown so much that it cannot find enough scientists and engineers to hire. Therefore, the company created the Cruz Space College (CSC) to train the next generation of space scientists and engineers. The company is keeping track of its students’ information. using an old system of text files but plans to implement a new system soon. Your job for this project is to make sure that the data in the files is not corrupted.

Write a program that:

Asks the user for an input file name.
Validates that the user entered a valid file name (name of an existing file).
If the user enters invalid file names 3 times, displays an error message and quits.
Reads from the input file the names of students (don’t make assumptions about how many students) and their grades (0..5 grades per student, default to 0). The names of the students and the grades will be stored in a dictionary where the names are the keys, and the grades are stored in a list associated with the key.
After reading the student information into the dictionary, displays the name of each student followed by their grades followed by the grade average to the console as follows:
Student 1 Grade 1 Grade 2 Grade 3 Grade4 Grade 5 Average

Student 2 Grade 1 Grade 2 Grade 3 Grade4 Grade 5 Average

Student 3 Grade 1 Grade 2 Grade 3 Grade4 Grade 5 Average

Student 4 Grade 1 Grade 2 Grade 3 Grade4 Grade 5 Average

Dictionary + List:

{Student1:[Grade1, Grade2, Grade3, Grade4, Grade5], Student2:[Grade1, Grade2, Grade3, Grade4, Grade5], Student3:[Grade1, Grade2, Grade3, Grade4, Grade5]}

Structure of input file:

Student 1Name

Student 1 Grade 1

Student 1 Grade 2

Student 2 Name

Student 3 Name

Student 3 Grade 1

Student 4 Name

Student 4 Grade 1

Student 4 Grade 2

Student 4 Grade 3

Student 4 Grade 4

Student 4 Grade 5

For Example:

Rodolfo

98.9

99.5

Julio

Pedro

100

Maria

99

99.8

90

80

80

Submission guidelines: Send your Assignment4.txt file as attachments to my email, with the subject Assignment 4.

Note: Please include the header at the top of your program. Replace the necessary information.

How do you place an order?

It takes a few steps to place an order with Us:

  • The first step is to place your order. You will need to provide us with some basic information about your project.
  • Once you have placed your order, you will be taken to our secure payment page.
  • Once we receive your order, we will carefully review it and match you with a writer who has the skills and experience.
  • Stay in contact with the writer and discuss vital details of research.
  • Your completed proposal will be delivered via email within the specified deadline.

You are secure when using our service

It's critical for each client to feel secure. As a result, we at Research Proposal Writing take precautions to secure your data.

Financial security You may securely pay for your purchase using a variety of secure payment methods.
Personal security The personal information of our clients is secure. Nobody else will have access to it.
Academic security We use a specialized program to check every completed paper to ensure that we deliver no-plagiarism samples.
Web security This website is safe from unauthorized breaches. We maintain our privacy management in line with the latest laws and regulations.

You can get help placing your order. If you have any questions about our services, please contact us. Our support staff is accessible 24 hours a day, 7 days a week.

If you're still looking for a way to improve your grades and hire expert writers, we've got you covered. Place an order on our website, and we'll help you with any paperwork you want. We will exceed your expectations.

Order now Get a quote