Answer Q3 of Application 1
Fix pylint errors