Refactor the code in Python or Golang for ease of maintenance.
Refactor the code in Python or Golang for ease of maintenance.