We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea296b6 commit 8a19636Copy full SHA for 8a19636
1 file changed
02_estructuras_de_datos/02_conjuntos/mini_test.py
@@ -1,9 +1,10 @@
1
"""
2
@author taicoding
3
-Tema: Sets
+Tema: Sets 🐍🍟
4
¿Cuál es el resultado? 👩🏻🏫👩🏻💻🐍
5
6
+
7
multiplos = {3, 6, 9, 12}
8
impares = {1, 3, 5, 7, 9}
-print(multiplos & impares)
9
-print(type(multiplos))
+resultado = multiplos.intersection(impares)
10
+print(resultado)
0 commit comments