空格 與tab互相轉換. 阿新• 來源:網路 • 發佈:2021-12-31. def tab2space(s, ts=4): out = ''; i = 0 for c in s: if c == '\t': j = ((i + ts) // ts) * ts if j ...
確定! 回上一頁