title: Leetcode's two sums error __init__() missing 2 positional arguments
body: <p>I'm solving leetcode's two sums and I get error <code>__init__() missing 2 positional arguments</code></p>
  
  <p>Here is my code:</p>
  
  <pre><code>class Solution(object):
      def __init__(self, nums, target):
          self.nums = nums
          self.target = target
      def twoSum(self):
          for i in range(0, len(self.nums)):
              j = self.target-self.nums[i]
              for a in range(i+1,len(self.nums)):
                  if self.nums[a]==j:
                      return "(%d, %d)" % (self.nums[i], self.nums[a])
  </code></pre>