Provide feedback for randomized stimuli within a trial

I’ve tried two solutions for the problem I’m now facing (reminder: I want participants to see two pictures on every trial and randomize which of the two is the correct one. Also, participants will receive immediate feedback after selecting one of the pictures)

1st solution: I’ve followed Michael’s advice and created an excel file (see post above) where every row corresponds to one condition, like this:
image

This however doesn’t seem to work. Regardless of whether I press “p” or “r”, I always get the feedback message Oops! That was wrong!

2nd solution: I’ve followed cnhstreet’s advice …

Randomly displaying an image within a loop - #4 by cnhstreet

…where he first suggests to create a list with both images, so that’s what I did:
city_list=['images/paris2.png','images/rome2.png']

Then I changed the image stimuli so that they refer to one of the two elements in city_list:

city1 = visual.ImageStim(win=win,image= city_list[0]) #0 first element in city_list
city2 = visual.ImageStim(win=win,image= city_list[1]) #1 second element in city_list

And also changed the excel file, so now it looks like this:
image

But again, whenever I run the code, and regardless of the answer (p or r) I only get the message Oops! That was wrong!

Any idea of what’s wrong? Most of the tutorials I’ve seen use different words and color, where you can easily use variables to tell your code what to look for in the excel file. For some reason this doesn’t seem to be working when displaying two images…

Thanks!