title: Why is the "self" parameter passed when calling a function?
body: <pre><code>class Solution:
      def cuttingRope(self,n):
          dp = [0] * (n + 1)
          dp[2] = 1
          dp[1] = 1
          for i in range(3, n + 1):
              for j in range(i):
                  dp[i] = max(dp[i], max(dp[i - j] * j, (i - j) * j))
          return dp[n]
  
  
  print(Solution.cuttingRope(Solution, 10))
  </code></pre>
  <p>In the print statement, the &quot;self&quot; parameter is designated as the class &quot;Solution&quot;, I don't understand this very well, can you give me a simple explanation</p>