我需要在字符串中的 X 之间添加一个空格。该程序在一个字段中进行测量,在进行计算之前,我需要能够将整数与“x”分开。
例如:“12x24”应为“12 x 24”
python string join
join ×1
python ×1
string ×1