Question: HOMEWORK: The submission for all functions and text files have to match the requirements: cent _ to _ inches _ &meters ( centimeter ) -

HOMEWORK:
The submission for all functions and text files have to match the requirements:
cent_to_inches_&meters(centimeter)- Function that asks the user to input data in centimeter (Cent),
convert it to inches (Inches)- using the formula: Inches= Cent/2.54) and convert it to meters (Meters)-
using the formula: Meters = Cent ?100). Both values to be returned to the main to print.
countVowels(sentence)- Function that returns the count of vowels in a sentence. Check for both upper-
case and lower-case alphabets and convert them all into lower case.
square_of_factorial(num)- Function that computes the factorial of a number entered then square the
result. Example of factorial of 5 is F=5**4**3**2**1. Square of factorial S=(120)???2
commonData(list1, list2)- Function that takes two lists (of numbers or characters) and returns true if
they have at least one common element.
sortList(nList, order)- Function that sorts a list nList, either in descending or ascending order.
Write a Python program that reads a text file called student.txt.
The input text file contains student_ID, student_name, Quiz_grade as well as Test_grade for
each student.
Your program should read each student details from the file
Then calculate the average of Quizzes and Tests marks
Display the students' details: Total number of students, total average, the total highest and
lowest marks.
The program should output the report into a file called output.txt.
A sample of output text file is given below.
student.txt:
output.txt:
Class Report
There are total of 6 students
The average of total marks is 71.267
Shamma (20197541) scored the lowest marks as 45
Hamda (20185432) scored the highest marks as 92.8
 HOMEWORK: The submission for all functions and text files have to

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!