Here, we are executing a python program that will enter understudy subtleties, stamps in 5 subjects and figuring the understudy grade.
Given understudies subtleties, checks in 5 subjects and we need to discover understudy’s evaluation.
In this program, we are taking understudy name, move number and checks in 5 subjects and figuring understudy’s evaluation depends on the rate and printing all subtleties.
Python code to discover understudy grade:
Output:
Enter Roll: 121
Enter Name: Kishan Kaushik
Enter marks of 5 subjects:
Subject 1: 22
Subject 2: 33
Subject 3: 55
Subject 4: 66
Subject 5: 77
121 Kishan Kaushik 253 50.6 D
COMP.