
subj1 = input('enter the MARKS of subj1:')
subj2 = input('enter the MARKS of subj2:')
subj3 = input('enter the MARKS of subj3:')
subj4 = input('enter the MARKS of subj4:')
subj5 = input('enter the MARKS of subj5:')

total = float(subj5) + float(subj4) + float(subj3) + float(subj2) + float(subj1)

print('total of five subjects',total)

percentage = (total/500) * 100
print('percentage is %.2f' %percentage)





