python - set

Опубликовано: 30 Январь 2025
на канале: Learnbatta
26
2

python set

A #set is an unordered collection of unique and un-hashable objects.
So, #tuples, #lists and #dict, etc. can be members of a set.
set is mutable so, can add/remove elements to/from the set.
set can't allow elements to be replaced

#python #python3 #learnbatta

Reference: https://learnbatta.com/course/python/...