title: Sum of squares function
body: <p>I'm trying to code the sum of squares in python and I'm pretty new to this.</p>
  
  <p>This is what I have for now:</p>
  
  <pre><code>n=int(input("n="))
  
  def sumsquare(n):
      sum=0
      i=0
      while(n&lt;=i):
          sum= sum + i**2
          i= i+1
      return sum
  </code></pre>
  
  <p>Basically what I'm trying to do is to make the user choose a number, and based on that number I want to calculate the sum of squares, and <code>return "The sum of square is ___"</code></p>