How can I have a target and two lists such that I can't print the same index a solution?

前端 未结 0 1418
小鲜肉
小鲜肉 2020-12-16 12:52

This is what I have tried:

class Solution(object):
    def twoSum(self, nums, target):
        if sum(nums) > target:
            for i in nums:
                   


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题