主页
Python
Python String lstrip() 方法
demo_ref_string_lstrip
运行 ❯
×
更改方向
保存代码
更改主题
txt = " banana " x = txt.lstrip() print("of all fruits", x, "is my favorite")
of all fruits banana is my favorite