Python program to calculate total marks percentage and grade of a student. Python software to calculate averages and percentages. The average and percentage of a student’s exam mark will be printed by this program. a per-hundred rate, number, or sum a number that expresses the central or typical value in a collection of data, such as the mode, median, or mean, and is determined by dividing the total of the values in the set by the number of values in the set.
print("Enter marks you have scored in exam ") mark1 = int(input()) mark2 = int(input()) mark3 = int(input()) mark4 = int(input()) mark5 = int(input()) mark6 = int(input()) sum = mark1+mark2+mark3+mark4+mark5+mark6 average = sum/6 percentage = (sum/600)*100 print(end="Average Mark is ") print(average) print(end="Percentage Mark is ") print(percentage)
Enter marks you have scored in exam
Average Mark is 47.34
percentage Mark is 47.34