Red Hat interview question

Home coding task - Implement kind of grep with command line arguments (python)