📜  获取括号中的字符串 python - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:16.289000             🧑  作者: Mango

代码示例2
Instead of: return ("Temperature in Fahrenheit Shall Be: ", far)
You need to turn your variable to a string and then use the + operator:
return "Temperature in Fahrenheit Shall Be: " + str(far)

Source: https://stackoverflow.com/questions/55490290/python-return-statement-includes-brackets