print "test: %s, the classifier came back with: %d, the real answer is: %d"\
^
SyntaxError: invalid syntax
这是版本信息
C:\Users\Administrator>python
Python 3.3.5 (v3.3.5:62cf4e77f785, Mar 9 2014, 10:37:12) [MSC v.1600 3
tel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
你的是3.x版本,与2.x版不同的是,print已经变为funtion。
使用print需要加括号,不加括号要出错。