title: Using sys.stdin for square roots or other input calculations
body: <p>I'm a newbie and honestly I'm having issues understanding how to do the below problem using stdin. I have an idea of what stdin does with user input but I'm confused on the provided code in the bottom and where to put in the input code.</p>
  <p>Write a program that squares an integer and prints the result.</p>
  <p><em>Test 1</em></p>
  <ul>
  <li>Test Input: 5</li>
  <li>Expected Output: 25</li>
  </ul>
  <p><em>Test 2</em></p>
  <ul>
  <li>Test Input: 25</li>
  <li>Expected Output: 625</li>
  </ul>
  <p>Code Given to begin with:</p>
  <pre><code>import sys
  for line in sys.stdin:
      Testinput = int()
      
      print(line, end=&quot;&quot;)
  </code></pre>