title: How to input a set of string separated with linefeed characthers using sys.stdin.read()
body: <p>I want to input a set of string separated with linefeed character and i want to use sys.stdin.read() but i'm confuse how it works.</p>
  <p>This is what i've tried:</p>
  <pre class="lang-py prettyprint-override"><code>import re
  import sys
  
  string = sys.stdin.read()
  for i in string:
      thearitmethic = re.findall('[\d\(\)\+\-\*\/\.]', i)
      print(thearitmethic)
  </code></pre>