 <p>Put the <code>.append()</code> inside the loop:</p> <pre><code>def main(): Sqrs() def Sqrs(): import math lstSquares = [] for i in range(1,11): math.pow(i,2) lstSquares.append(math.pow(i,2)) ShowResults(lstSquares) def ShowResults(lstSquares): print(lstSquares) main() </code></pre> <p>Result:</p> <pre><code>[1.0, 4.0, 9.0, 16.0, 25.0, 36.0, 49.0, 64.0, 81.0, 100.0] </code></pre>