Posts by João Felipe Holanda • 23 points
1 post
-
2
votes2
answers37
viewsQ: Why does entering a value in a list become None?
valores = [] valor1 = valores.append(int(input('Valor 1: '))) valor2 = valores.append(int(input('Valor 2: '))) if valor1 in valores > 0: print(valor1, 'é positivo') else: print(valor1, 'é…