making python code parametrized

visit shbcf.ru