Merge pull request #1 from angel-carvajal-coder/patch-1
Python 3 support
Chris Pressey authored 2 years ago
GitHub committed 2 years ago
108 | 108 | # to constants (words that follow PUSH or SKIP instructions) |
109 | 109 | for word in words: |
110 | 110 | value = scrabble(word) |
111 | print "[%s:%s/%s]" % (value, ACTION.get(value, 'NOP'), word) | |
111 | print ("[%s:%s/%s]" % (value, ACTION.get(value, 'NOP'), word)) | |
112 | 112 | sys.exit(0) |
113 | 113 | |
114 | 114 | words.append('FOXY') # stop if you get to the end |