我主要使用 Python3。我可以寫這個嗎print(f"the answer is {21 + 21} !")輸出:答案是 42 !但在 Python 2 中 f 字符串不存在。那么這是最好的方法嗎?print("the answer is " + str(21 + 21) + "!") 查看完整描述