title: Python defined function f(*x) failed quiz question
body: <p>I'm coursing Python applied for Data Science in CognitiveClass.ai, i'm at the functions module and did not understand why I failed answering this function-related question.</p>
  <p>This is python 3 in a jupyter lab. I thought this code had a mistake but i failed.</p>
  <p>This is the question:</p>
  <blockquote>
  <p>What is the value of c after the following block of code is run ?</p>
  </blockquote>
  <pre><code>def f(*x):
      return sum(c)
  </code></pre>
  <blockquote>
  <p>a) Return the total of a variable amount of parameters<br />
  b) Return the total of a list return the total of a list<br />
  c) The function is not valid</p>
  </blockquote>
  <p>I chose letter c and then B but without success. Letter A is the answer.</p>
  <p>I'll be very glad if someone can explain me why did I fail?</p>
  <p>kalhan Koul :
  For that you need to understand  that in the definition of the function def f(*x):   notation * means if  unknown number of arguments variables  are there then  then   return sum(c) will return the total number of arguments passed. Hence Answer A is valid. It was test of  comprehension of question</p>