@@ -28,6 +28,14 @@
# Métodos úteis:
# add, update, clear, discard
s1 = set()
s1.add('Luiz')
s1.add(1)
s1.update(('Olá mundo', 1, 2, 3, 4))
# s1.clear()
s1.discard('Olá mundo')
s1.discard('Luiz')
print(s1)
# Operadores úteis:
# união | união (union) - Une
The note is not visible to the blocked user.