Detailed Explanation of "Python Beginner to Master" Collection Set

"Author's Homepage": Shibie Sanri wyx
"Author's Profile": CSDN top100, Alibaba Cloud Blog Expert, Huawei Cloud Share Expert, Network Security High-quality Creator
"Recommended Column": Xiaobai Zero Basic "Python Beginner to Master"

"Collection" is wrapped in curly {}braces, "elements" are separated by commas ,, and the elements in the set are "not repeated" .

1. Commonly used basic operations

"create" collection

# 1、创建空集合
set1 = set

Guess you like

Origin blog.csdn.net/wangyuxiang946/article/details/131755730