I found the solution, although the tools for formatting code not available, I just need to put my code into the block of the triple ` and the question is allowed to submit.