HappyCoding/happy python

PYTHON 성적

중간고사, 기말고사 점수 두 개를 입력받기 

input1 = int(input())
input2 = int(input())
score = (input1 + input2)/2


if input1 ==0 or input2 == 0:
    print("F")
elif score >= 80:
    print("A+")

elif score >= 60:
    print("A0")
elif score >= 40:
    print("B+")
else: 
    print("B0")