title: making a while loop to output list of perfect squared numbers
body: <p>I'm trying to make a while loop that displays all possible perfect squared numbers up to the value is provided by the user input</p>
  <p>Below is the code that I have produced for this however this only display the next possible perfect squared number</p>
  <pre><code>num = input(&quot;Type in a positive whole number: &quot;)
  count = 0
  square = 0
  while square &lt;= num:
           count = count + 1
           square = count*count   
  print square
  </code></pre>