gnuswann@programming.dev to Programmer Humor@programming.dev · 1 year agoI personally use tabsprogramming.devimagemessage-square33fedilinkarrow-up1138arrow-down12
arrow-up1136arrow-down1imageI personally use tabsprogramming.devgnuswann@programming.dev to Programmer Humor@programming.dev · 1 year agomessage-square33fedilink
minus-squarelasagna@programming.devlinkfedilinkarrow-up3·1 year agoFor line in lines: if char[0] == SPACE { del char[0]} else if char[0] == TAB {char[0] = SPACE*3} save(‘overwrite’)
For line in lines: if char[0] == SPACE { del char[0]} else if char[0] == TAB {char[0] = SPACE*3}
save(‘overwrite’)