python错误TypeError: unsupported operand type(s) for %: ‘NoneType’ and ‘tuple’的解决方法 Posted on 4 8 月, 2020 这种情况一般是因为print语句写错了。 错误常见情形: print("who is the murder? %s or %s?") % (a, b) 正确应为: print("who is the murder? %s or %s" % (a, b)) 仔细辨认两者括号位置的不同。 Post Views: 68