We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17b1cf9 commit 0d12ab1Copy full SHA for 0d12ab1
1 file changed
Level_03/sets.py
@@ -0,0 +1,11 @@
1
+#!/usr/bin/env python3
2
+
3
+# Sets sind Mengen (im mathematischen Sinne), also:
4
+# * Elemente können maximal einfach vorkommen
5
+# * Es gibt keine Reihenfolge.
6
7
+s = {1, 2, 2, 2, 2, 2, 3, 'foo'}
8
+s.update({5})
9
+s
10
+set('foo')
11
+type({})
0 commit comments