摘要:
# 集合是由 { ,} 组成 test = {1,2,8,9,7,5} print(test) {1, 2, 5, 7, 8, 9} # 集合的结果是 去重的,且排序是 无序的 test = {1,2,3,3,5,8,5,9,7,6} print(test) {1, 2, 3, 5, 6, 7, 8 阅读全文
posted @ 2019-02-22 10:49 MJ-majun 阅读(154) 评论(0) 推荐(0)
|
摘要:
# 集合是由 { ,} 组成 test = {1,2,8,9,7,5} print(test) {1, 2, 5, 7, 8, 9} # 集合的结果是 去重的,且排序是 无序的 test = {1,2,3,3,5,8,5,9,7,6} print(test) {1, 2, 3, 5, 6, 7, 8 阅读全文
posted @ 2019-02-22 10:49 MJ-majun 阅读(154) 评论(0) 推荐(0) |
||