title: Issue with dict() in Python, TypeError:'tuple' object is not callable
body: <p>I'm trying to make a function that will take an arbritrary number of dictionary inputs and create a new dictionary with all inputs included. If two keys are the same, the value should be a list with both values in it. I've succeded in doing this-- however, I'm having problems with the dict() function. If I manually perform the dict function in the python shell, I'm able to make a new dictionary without any problems; however, when this is embedded in my function, I get a TypeError. Here is my code below:</p>
  
  <pre><code>#Module 6 Written Homework
  #Problem 4
  
  dict1= {'Fred':'555-1231','Andy':'555-1195','Sue':'555-2193'}
  dict2= {'Fred':'555-1234','John':'555-3195','Karen':'555-2793'}
  
  def dictcomb(*dict):
      mykeys = []
      myvalues = []
      tupl = ()
      tuplist = []
      newtlist = []
      count = 0
      for i in dict:
          mykeys.append(list(i.keys()))
          myvalues.append(list(i.values()))
          dictlen = len(i)
          count = count + 1
      for y in range(count):
          for z in range(dictlen):
              tuplist.append((mykeys[y][z],myvalues[y][z]))
      tuplist.sort()
      for a in range(len(tuplist)):
          try:
              if tuplist[a][0]==tuplist[a+1][0]:
                  comblist = [tuplist[a][1],tuplist[a+1][1]]
                  newtlist.append(tuple([tuplist[a][0],comblist]))
                  del(tuplist[a+1])
              else:
                  newtlist.append(tuplist[a])
          except IndexError as msg:
              pass
      print(newtlist)
      dict(newtlist)
  </code></pre>
  
  <p>The error I get is as follows:</p>
  
  <pre><code>Traceback (most recent call last):
    File "&lt;pyshell#17&gt;", line 1, in &lt;module&gt;
      dictcomb(dict1,dict2)
    File "C:\Python33\M6HW4.py", line 34, in dictcomb
      dict(newtlist)
  TypeError: 'tuple' object is not callable
  </code></pre>
  
  <p>As I described above, in the python shell, print(newtlist) gives:</p>
  
  <pre><code>[('Andy', '555-1195'), ('Fred', ['555-1231', '555-1234']), ('John', '555-3195'),     ('Karen', '555-2793')]
  </code></pre>
  
  <p>If I copy and paste this output into the dict() function:</p>
  
  <pre><code>dict([('Andy', '555-1195'), ('Fred', ['555-1231', '555-1234']), ('John', '555-3195'), ('Karen', '555-2793')])
  </code></pre>
  
  <p>The output becomes what I want, which is: </p>
  
  <pre><code>{'Karen': '555-2793', 'Andy': '555-1195', 'Fred': ['555-1231', '555-1234'], 'John': '555-3195'}
  </code></pre>
  
  <p>No matter what I try, I can't reproduce this within my function. Please help me out! Thank you!</p>