分两步在字符串中使用.format()我有一个字符串,我想在其中替换一些变量,但在不同的步骤中,类似于: my_string = 'text_with_{var_1}_to_variables_{var_2}' my_string.for ...2024-07-01 已阅读: n次