TOPIC

nao consigo achar o erro

Caio Sampaio asked 1 year ago

cont = 0 while cont < 2: n1 = float(input('n1')) if n1 >= 0 and n1 <=10: while cont < 2: n2 = float(input('n2')) cont += 1 if n2 >= 0 and n2 <=10: cont+=1

        else:
            print('nota invalida')
            continue

else:
    print('nota invalida')
    continue

media = (n1 + n2)/2 print('media = {}'.format(media ))

This topic has not been answered yet. Be the first!

Remember not post solutions. Your post may be reviewed by our moderators.