title: SyntaxError: can't assign to function call in Python (Beginner)
body: <p>I am running the following block of code:</p>
  
  <pre><code>def update_contact_number(contacts, contact_name, old_number, new_number):
      if contact_name in contacts:    
          lis = list(contacts[contact_name].values())
          lis[0]=new_number
          contacts[contact_name].values()=tuple(lis)
          return True
      else:
          return False
  </code></pre>
  
  <p>when I get this error:</p>
  
  <blockquote>
    <p>SyntaxError: can't assign to function call.</p>
  </blockquote>
  
  <p>Can anyone come up with a solution and the possible problem?</p>