Yes, it's perfectly OK to ask:

> What have you tried?

or:

> Please show your code.

or even:

> Please explain what you mean by "not working".

If you need to add any (or all) of these comments that that's the mark of a bad question. Leaving these comments is the first step on getting a good question that people can answer.