Python Compiler
txt = "B\ty\te" print(txt.expandtabs(2)) print(txt.expandtabs(4)) print(txt.expandtabs(6)) print(txt.expandtabs())
OUTPUT
B  y  e
B    y    e
B      y      e
B        y        e
×

Save as Private