Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

write a student marks calculation in Python application to ask the user for a list of marks of students which should be entered using the

write a student marks calculation in Python
application to ask the user for a list of marks of students which should be entered
using the keyboard.
The numbers should be entered one at a time. You should devise a way for the user
to tell the application that all the numbers have been entered. Hint: use a loop.
The application should tell the user how many numbers they have entered and then
present a menu of choices as follows:
1. Print the mean of the numbers
2. Print the median of the numbers
3. Print the mode of the numbers
4. Go back and enter a NEW set of numbers
5. Exit the application
Part 2
Add more functionality as follows:
1. Allow only numbers to be added, give an error message to the user prompting
them to enter the value again.
2. Check that at least two numbers have been added before presenting the menu.
3. Find the skewness of the values in the list
CS4051 Main sit Coursework 23-24 Academic Year
3
Part 3
Add more functionality as follows:
1. Allow multiple numbers to be added as a string with the numbers separated by
commas (as well as individually). Hint: you will need to check whether a number entered
contains one or more commas.
2. Add another menu choice to enter more numbers (to the ones already entered).
3. Add the functionality to read the data file from the computer hard-drive
Comments in the Code
You are required to write comments wii thin the code to explain it line by line.
Do not use any python packages i repeat do not use python packages

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

Database And Expert Systems Applications 22nd International Conference Dexa 2011 Toulouse France August/September 2011 Proceedings Part 1 Lncs 6860

Authors: Abdelkader Hameurlain ,Stephen W. Liddle ,Klaus-Dieter Schewe ,Xiaofang Zhou

2011th Edition

3642230873, 978-3642230875

More Books

Students also viewed these Databases questions