Python simple login
<p>I have assignment in my school to create function with simple login from some file (users.txt) I'm not very good at Python 3.5 so I need help.</p>

<hr>

<p>Data in users.txt looks like this:</p>

<p><strong>Name|Surname|username|password</strong></p>

<p>separated by "|"</p>

<hr>

<p>My job is to create simple login when program starts and continue to <em>main_menu()</em> if username and password input matches with one in <em>users.txt</em> file.</p>

<p>Thx :)</p>

<p>ps. I'm not supposed to use any advanced methods for login :(</p>