Statement seems to have no effect
97 print(lista_Tuplas[contador]) #me da o elemento
98
99 valor = int(input("valor a modificar susbstituir no elemento? "))
100 lista_Tuplas[contador] #modificar para indice101 lista_tupla = []
102 lista_tupla.append(lista_Tuplas[contador][0])
103 lista_tupla.append(valor)
Description
The expression or statement is pointless and will not affect the program's execution. It should be removed.
It is recommended to remove the statement as it adds unnecessary complexity to the codebase.
Bad practice
x = input()
x == 3 # Line doesn't do anything, it can be safely removed
calculate_res(x)
Preferred:
x = input()
calculate_res(x)