TypeError: can only concatenate tuple (not “float”) to tuple (how to solve this error))

前端 未结 0 854
误落风尘
误落风尘 2021-02-13 10:56

Here is the code where the error is arising

def cost():
   tax = "$", str(\'%.2f\'%((d + c + 1.59)*0.15 ))
   var20.set(tax)

相关标签:
回答
  • 消灭零回复
提交回复
热议问题