psychopy.org | Reference | Downloads | Github

Not getting 'space' between text

Hi,
I have created a variable ‘varmsg’ for displaying the number of correct (accurate) answers after an experiment is finished. Below is the statement that needs to be displayed as text:
(varmsg1 = “You got” + nCorr + “correct out of 96 trials. Well done!” )

Here, nCorr = number of accurate answers

However, I am unable to get a space between 'the string ‘‘got’’ and nCorr. It shows something like this:
You got58correct out of 96 trials. Well done!

Could someone please help regarding this?

You need to put the space in between the word and the quotes

Resolved. Thank you :slight_smile: