Gxlsystem TIY Editor
Gxlsystem 在线教程
改变方向
暗黑模式
python_ref_string_rsplit_2.py:
txt = "apple, banana, cherry" # setting the maxsplit parameter to 1, will return a list with 2 elements! x = txt.rsplit(", ", 1) print(x)