13
Python
nota1 = float(input("Introduce la nota 1: "))
nota2 = float(input("Introduce la nota 2: "))
nota3 = float(input("Introduce la nota 3: "))
asistencia = float(input("Introduce el porcentaje de asistencia (0-100): "))
promedio = (nota1 + nota2 + nota3) / 3
print(f"\nPromedio: {promedio:.2f}")
print(f"Asistencia: {asistencia}%")
if promedio >= 3.0 and asistencia >= 80:
print("Estado: APROBADO")
else:
print("Estado: REPROBADO")
Output
Embed on website
To embed this program on your website, copy the following code and paste it into your website's HTML:
Comments
This comment belongs to a banned user and is only visible to admins.
This comment belongs to a deleted user and is only visible to admins.