본문 바로가기
Python(Eng. ver)

6. Python collection type - Set

by 곽정우 2024. 3. 14.

1. Set

A set is a Python data structure that stores a collection of unique and unordered values.

 

1-1. Creation

Sets can be created directly by using curly braces {} and listing the elements separated by commas.

 

1-2. Methods

Set has several methods.

'Python(Eng. ver)' 카테고리의 다른 글

8. Operator in Python  (0) 2024.03.14
7. Python collection type - Dictionary  (0) 2024.03.14
5. Python collection type - Tuple  (0) 2024.03.14
4. Python collection type - List  (0) 2024.03.14
3. Python String & why 0.1+ 1.1 ≠ 1.2  (0) 2024.03.13