1
In the code below I try to divide the values, but I end up getting a completely wrong answer from the calculation:
nota1 = input ("Digite a nota 1: ")
nota12 = input ("Digite a nota 1: ")
nota2 = input ("Digite a nota 2: ")
nota22 = input ("Digite a nota 2: ")
media1 = (float(nota1 + nota12)/2)
media2 = (float(nota2 + nota22)/2)
print(media1)
print(media2)
The result I get is this:
How do I get the calculation out correctly (5+10/2 = 7.5 and 7+7/2=7)?