我收到错误TypeError: str() takes at most 1 argument (2 given)
我很确定它与这行代码有关:
print 'Area: %s\nInventory: %s\nHealth: %s\nHunger: %s\Water: %s' % (area, str(inventory, str(health, str(hunger, str(water)))))
提前致谢!
答案 0 :(得分:4)
{% varname1 varname2 varname3 varname4 %}