Skip to content

Instantly share code, notes, and snippets.

@mattalhonte
Created November 6, 2012 00:01
Show Gist options
  • Save mattalhonte/4021262 to your computer and use it in GitHub Desktop.
Save mattalhonte/4021262 to your computer and use it in GitHub Desktop.
myStringNumbers = []
def stringNumMaker(n):
for i in range(1, n):
stringNum = str(i)
myStringNumbers.append(stringNum)
stringNumMaker(8)
for i in myStringNumbers:
print "RECODE NegIntAmb" + i + "(1=7) (2=6) (3=5) (4=4) (5=3) (6=7) (7=1) INTO NegIntAmb" + i + "Reverse.VARIABLE LABELS  NegIntAmb" + i + "Reverse 'Reverse Scored Negative Intolerance of Ambiguity Question”" + i + "'. EXECUTE."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment