例子1:s="PYTHON"while s !="": for c in s : if c == "T": break print(c,end="") s=s[:-1]
》》》PYPYPYPYPYP例子2:
s="PYTHON"while s !="": for c in s : if c == "T": break print(c,end="") s=s[:-1]
》》》TTTTYP