update 1
This commit is contained in:
		@@ -14,9 +14,10 @@ class Solution:
 | 
				
			|||||||
                    temp_list = nums
 | 
					                    temp_list = nums
 | 
				
			||||||
                    temp_list.pop(i)
 | 
					                    temp_list.pop(i)
 | 
				
			||||||
                    if another not in temp_list:
 | 
					                    if another not in temp_list:
 | 
				
			||||||
                        continue
 | 
					                        answer.append(i)
 | 
				
			||||||
 | 
					                        answer.append(temp_list.index(another) + 1)
 | 
				
			||||||
                answer.append(i)
 | 
					                answer.append(i)
 | 
				
			||||||
                answer.append(nums.index(target - nums[i]))
 | 
					                answer.append(nums.index(another))
 | 
				
			||||||
                return answer
 | 
					                return answer
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        return answer
 | 
					        return answer
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user