Generation

generate functionThu, 20 Apr 2023

Capturar 3 notas enviarlas al archivo pero imprimir solo el promedio

def promedio3(n1, n2, n3): return (n1 + n2 + n3) / 3 n1 = float(input("ingrese nota 1: ")) n2 = float(input("ingrese nota 2: ")) n3 = float(input("ingrese nota 3: ")) print(promedio3(n1, n2, n3))

Want to kickstart your project?Use the new AI Studio to create your code