promedio_final = 9.5 

if promedio_final >= 9:
    print ("Alumno destacado, exento examen final")
else:
    print("Alumno regular, debe presentar examen")

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: