title: How can I check for a new line in string in Python 3.x?
body: <p>How to check for a new line in a string?</p>
  
  <p>Does python3.x have anything similar to java's regular operation where direct <code>if (x=='*\n')</code> would have worked?</p>