定义一个数组 a=[1,2,3,3,2,1]
a.sort() 对原数组排序,返回值为 None
如果调用 sorted()方法 返回值为排序后的序列,原数组不变
标签:python
姓名*:
邮箱*:
网站:
添加新评论