Student Mark List Program in Python

Student mark list program in python. 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)

 

Output:

Enter marks you have scored in exam

6

78

34

76

34

56

Average Mark is 47.34

percentage Mark is 47.34

Percentage in Python

A percentage is a fraction of a whole that is expressed as a number between 0 and 100 instead of a fraction. Divide the component of the whole by the entire itself and multiply by 100 to get a percentage.

Average Value To Execute Student Mark List Program In Python

A single number that represents a non-empty list of numbers is called an average. In different situations, multiple definitions of average are used. “Average” is frequently used to refer to the arithmetic mean, which is the total of the numbers divided by the number of numbers being averaged.

Print Statement in Python

The print() function sends a message to the screen or another standard output device. The message can be a string or another object, which will be converted to a string before being displayed on the screen. The print statement instructs the computer to output anything, either to the terminal or to the printer. It can be utilised in a variety of ways. Printing the value of a single variable is one option.