SIMULATION ANALYSIS OF FINAL
'' COLEGIO JHON F. KENNEDY D.E.I By created: Date created: Date modified:
Description: analysis of final annual grades ''' nom = str(input("Ingrese nombre
completo: ")) asig= str(input("Ingrese nombre de la asignatura: "))
curs=str(input("Ingrese curso: ")) trim = int(input("Registre número entero del
Trimestre: ")) while trim == 3: nuno =int(input("Ingrese el número de notas que
tiene hasta el momento: ")) n1 = float(input("Ingrese nota 1: ")) n2 =
float(input("Ingrese nota 2: ")) n3 = float(input("Ingrese nota 3: ")) n4 =
float(input("Ingrese nota 4: ")) n5 = float(input("Ingrese nota 5: ")) n6 =
float(input("Ingrese nota 6: ")) n7 = float(input("Ingrese nota 7: ")) n8 =
float(input("Ingrese nota 8: ")) n9 = float(input("Ingrese nota 9: ")) n10=
float(input("Ingrese nota 10: ")) n11= float(input("Ingrese nota 11: ")) n12=
float(input("Ingrese nota 12: ")) suma =
(n1+n2+n3+n4+n5+n6+n7+n8+n9+n10+n11+n12) acad = ((suma*50)/(5*nuno)) r =
int(input("Registre número total de llegadas tarde: ")) f = int(input("Registre
número total de fallas: ")) d = int(input("Registre puntaje llamadas de
atención: ")) conv = (20 - (r+2*f+d)) ex = float(input("Registre nota de examen
final: ")) aut = int(input("Registre autoevaluación de 1 a 10 solo número
entero: ")) t3 = acad+conv+ex+aut break print("")
print("Asignatura:",asig,"\nCurso: ",curs, "\nTrimestre: ",trim, "\nEstudiante:
",nom, "\nDefinitiva Trimestre 3: ",t3,"/100") print("") t1 =
int(input("Registre nota definitiva del trimestre 1: ")) t2 =
int(input("Registre nota definitiva del trimestre 2: ")) deffinal = (t1+t2+t3)/3
print("") print("Definitiva para ", asig, "\nNota: ", deffinal, "/100")
Comentarios
Publicar un comentario