Video thumbnail for How to find the averages of 2 scores of a person | Python Exercise #4

How to find the averages of 2 scores of a person | Python Exercise #4

Nov 21, 2022
How to find the averages of 2 scores of a person | Python Exercise #4 #Python This is a python program that calculates the average of 2 exam grades of a student. The program will work in the following order. The first and foremost thing is to get the grades or scores of the student. To avoid choosing the variable type, we will be using the eval( ) method. This can help us to avoid confusion of choosing the variable type. So, it doesn’t matter whether it is an integer or float.