An error occurred while querying Chinese characters.

Hello, I encountered a problem while doing exercises on the manual's journal page. The manual's journal page teaches the use of the following code:


However, I am using Chinese, as shown in the picture.

So I changed the syntax.

The result shows an error.
image
Is it because the grammar doesn't support Chinese?

Solved, the AI said to use the object method.