<Paramname="Begin Routine"updates="constant"val="# Select and record a value for listA&#10;thisA=listA.pop()&#10;thisExp.addData('thisA',thisA)&#10;&#10;# Select and record correct answer&#10;shuffle(sides)&#10;if sides[0]>0:&#10; corrAns='right'&#10;else:&#10; corrAns='left'&#10;thisExp.addData('Answer',corrAns)&#10;"valType="extendedCode"/>
<Paramname="Begin Routine"updates="constant"val="listA.append(str(int(colA)))&#10;# Use listA.append(colA) if colA is text&#10;&#10;# Note that in this case loading_loop&#10;# is using rows 0:10 and has nReps = 3&#10;# to make a list of 30 numbers. If&#10;# colA and colB have the same length or&#10;# come from different spreadsheets, use&#10;# rows should be blank with nReps = 1"valType="extendedCode"/>