Show correct answer together with feedback

OS (e.g. Win10): Win 10
PsychoPy version (e.g. 1.84.x): 1.90.1
Standard Standalone? (y/n) If not then what?:

What are you trying to achieve?:
I need to show participants feedback after they complete the experiment together with an answer they should have given if it was wrong. I found a tutorial on the feedback part, but nothing on showing the correct answer.

It would be extra helpful if someone could tell me how to do this for feedback after every stimuli and at the end for the whole loop (basically in the two conditions, in one participants see feedback and correct answer right after they give a response, in the other they get both at the end for all items)

What did you try to make it work?:
Nothing. I’ve got no idea how to achieve it.

You have the correct answer as a variable in your conditions file. So simply put that variable name, prefixed by a $ symbol, in the text field of a text stimulus, set to update on every routine.

That works beautifully, thank you very much @Michael.