title: How to change an array max in Python
body: <p>I want to change the max value of a list as below:</p>
  
  <pre><code>a = [2, 2, 4, 5]
  
  max(a) = 10
  
  print(a)
  </code></pre>
  
  <p>but consistently get: <code>SyntaxError: can't assign to function call</code></p>
  
  <p>Does anybody know how to change the max value?</p>
  
  <p>Thank everyone for the help! I want to replace the maximum of an array with another number, which will be my new maximum.</p>