title: Read and print "STDIN and STDOUT"
body: <p><a href="https://i.stack.imgur.com/42N0C.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/42N0C.png" alt="enter image description here"></a></p>
  
  <p>I was doing a sample test on HackerRank, and although I knew how to code a solution to the problem, I didn't understand the stdin and stdout system.  My code didn't get the parameters and print nothing on stdout. </p>
  
  <blockquote>
    <p>Given a integer L and R (each one from a line on stdin) print on stdout the odd numbers(on an array) between them.</p>
  </blockquote>
  
  <pre><code>def oddNumbers (l, r): #this was already here
      l=int(input())
      r=int(input())
      list1=[]
      for i in range (l+1, r):
          if i%2 == 1:
              list1.append(i)
      print(list1)
      return
  
  if__name'__main__': #this was already here
      # ...
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/LNxqB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LNxqB.png" alt="enter image description here"></a></p>