Problem when trying to create another call? Call related to how many times a value appears in the list
问题 Here is the code: from typing import Any list = list(range(1, 41)) print(list) listValues = [] for i in range(1, 5): # 1,2,3,4 value = int(input("Digite o valor:" + str(i) + ":")) # Digite o valor listValues.append(value) print(value) for value in listValues: print(value) if value in list: print("Valor " + str(value) + " encontrado.") else: print("Valor " + str(value) + " não encontrado.") value = int(input("Digite o valor, para achar a posição:" +str(i) + ":")) pos = listValues.append(value)