python 力扣1两数之和
网页链接1.第一版class Solution(object): def twoSum(self, nums, target): count=len(nums) for i in range(0,count-1): for j in range(i+1,count): if nums[i]+nums[j]==target: list.append(i)