listGPA = [2.1,2.5,4,3]

def hadiah(GPA):
    bonus = 500000
    hadiah = GPA*bonus
    return hadiah


for GPA in listGPA:
    if GPA > 2.5 :
        print("hadiah anda : Rp", hadiah(GPA))
    else:
        print("maaf coba lagi")

 
listGPA = [2.1,2.5,4,3]

def hadiah(GPA):
    bonus = 500000
    hadiah = GPA*bonus
    return hadiah


for GPA in listGPA:
    if GPA > 2.5 :
        print("hadiah anda : Rp", hadiah(GPA))
    else:
        print("maaf coba lagi")

 