Driver code
n = 5 NEW_LINE marks = [ 90 , 80 , 70 , 80 , 90 ] NEW_LINE cgpa = CgpaCalc ( marks , n ) NEW_LINE print ( " CGPA ▁ = ▁ " , ' % .1f ' % cgpa ) NEW_LINE print ( " CGPA ▁ Percentage ▁ = ▁ " , ' % .2f ' % ( cgpa * 9.5 ) ) NEW_LINE