PELICO interview question

Python file handling and SQL queries