TOPIC
Me código apresenta 15% de error, alguém me ajuda
murilo27 asked 3 years ago
Question solved. Code removed.i = 0 y = 0 lista =[] for i in range(1, 7): a = float(input()) if a > 0: lista.append(a) x = sum(lista) y = len(lista) w = x/y i = i + 1 y = y + 0 print('{} valores positivos'.format(y)) print(w)
This topic was solved and cannot recieve new replies.