在Python中考慮一個字串一個f-string. 2021-10-24 06:23:53 .NET開發. 假設我有 x = 3 s = "f'12{x}4'". 如何將s視為f-string來列印 1234 ,就像寫 print(f'12{x}4') ...
確定! 回上一頁