Hi,
I am an expert in Python and write clean, robust, efficient & modular code. I think this is a straightforward task unless the 60 lines of code involve calls to other libraries.
I think about 10 to 20 hours should be enough for the task - but may take more or less. Can you please share the code snippet?