W3School TIY Editor
W3School 在线教程
改变方向
暗黑模式
python_tuple_change.py:
x = ("apple", "banana", "cherry") y = list(x) y[1] = "kiwi" x = tuple(y) print(x)