Artificial intelligent assistant

配列の要素が適切に削除できない find-1-1 [-1, -1, 8, -1, -1][8,-1]-1-1 wage_sentence = " 1545 " list_wage = [] list_wage.append(wage_sentence.find("")) list_wage.append(wage_sentence.find("")) list_wage.append(wage_sentence.find("")) list_wage.append(wage_sentence.find("")) list_wage.append(wage_sentence.find("+")) for i in list_wage: if -1 in list_wage: list_wage.remove(-1) end = min(list_wage)

`for i in list_wage:`
`-1`,`8`,`-1`3


for i in list_wage:
print(i)
if -1 in list_wage:
list_wage.remove(-1)


`for`
(@metropolis)


for i in range(len(list_wage)):


if


while -1 in list_wage:
list_wage.remove(-1)


1


list_wage = [x for x in list_wage if x != -1]



Pythonclear, pop, remove, del

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 81886115c63171942f6e2857a39c3d9b