In /workspace , create a Python module called service.py that defines a custom sorted function. This…
In /workspace , create a Python module called service.py that defines a custom sorted function. This…: a task in Repo2RLEnv TerminalWorld (EuniAI) (Harbor dataset). The module will be used by a test script that creates Service objects with string numeric values (e.g., '10' , '8' , '12' , '1' , '3'…
The task
The module will be used by a test script that creates `Service` objects with string numeric values (e.g., `'10'`, `'8'`, `'12'`, `'1'`, `'3'`), where each object's `sortkey()` method returns the integer form of its value. After importing `service` and calling `service.sorted(services)`, the test writes the result to…
Part of FineEnvs/repo2rlenv-terminalworld.