fork(3) download
  1. nota1 = float(input("Digite a nota 1: "))
  2. nota12 = float(input("Digite a nota 1: "))
  3.  
  4. nota2 = float(input("Digite a nota 2: "))
  5. nota22 = float(input("Digite a nota 2: "))
  6. media1 = ((nota1 + nota12) / 2)
  7. media2 = ((nota2 + nota22) / 2)
  8.  
  9. print(media1)
  10. print(media2)
Success #stdin #stdout 0.01s 27696KB
stdin
5
10
7
7
stdout
Digite a nota 1: Digite a nota 1: Digite a nota 2: Digite a nota 2: 7.5
7.0