Wait 5 seconds before feedback

Hi,

I’m very new to PsychoPy… Is anybody able to tell me the code I need to enter to show feedback after 5 seconds?

The code I have so far is:

else:
feedback.text = “Incorrect / too long!”
feedback.draw
win.flip()
core.wait(2)
win.flip()
core.wait(0.2)

Thank you in advance!

For all code samples, please follow this convention:

Also, the problem here is not clear. You already have core.wait() statements. Why not just insert a core.wait(5) before drawing your feedback?