title: Python: TypeError: takes exactly 1 argument (2 given)
body: <p>I'm currently using singpath.com to practice my python, but I face an issue with a problem:</p>
  
  <p>The expected result is:</p>
  
  <pre><code>&gt;&gt;&gt;CurryPuff(3) 
  3.60 
  &gt;&gt;&gt;CurryPuff(3,'Fish') 
  4.2
  </code></pre>
  
  <p>This is something I tried:</p>
  
  <pre><code>def CurryPuff(x,typePuff):
  
     if(typePuff==''):
  
        return x*1.2
  
     if(typePuff=='Fish'):
  
        return x*1.4
  </code></pre>
  
  <p>But it give me this error:</p>
  
  <pre><code>TypeError: CurryPuff() takes exactly 2 arguments (1 given)
  </code></pre>
  
  <p>I had try googling on this but I'm not really very sure what is the key word to use, so hopefully can get help from here.</p>
  
  <p>Thanks.</p>