title: Q: Creating a program in python to display a table of squares and cubes for a specified range of numbers
body: <p>I'm currently trying to create a table of powers using python to display a table of squares and cubes for a specific range of numbers. Unfortunately, when I run the module the only thing shown in the shell is the users inputs for start and end number.</p>
  
  <p>This is my code at the moment:</p>
  
  <pre><code>print("Table of Powers")
  print()
  start = int(input("Start number:\t"))
  end = int(input("Stop number:\t"))
  print()
  def printTable(start, end):
      result = 1
      for x in range(start, end):
          print(x, x ** 2, x ** 3)
  </code></pre>
  
  <p>With this code I was hoping to create a table of powers from the users inputs, listing the numbers within the range, the squared numbers, and the cubed numbers.</p>