- The code is as follows:

{current_code}

- This above code is supposed to implement this function:

{request}

- However, the current code does not meet the above requirements and has the following mistakes:

{mistake}

- Your task is to revise current code according to known mistakes. Make sure the output code is runnable, **DO NOT output any other text**.