Missing parentheses in call to 'print'

原因:Python2.x和Python3.x使用print输出时规则不同导致

Python2.x: print k即可

Python3.x:print (k)需要加括号

posted @ 2019-05-23 16:45  ShineLe  阅读(828)  评论(0)    收藏  举报