Skip to content

Instantly share code, notes, and snippets.

@Fhernd
Created December 26, 2019 23:10
Show Gist options
  • Save Fhernd/ab40d79a74e78e3a735812894ee2313d to your computer and use it in GitHub Desktop.
Save Fhernd/ab40d79a74e78e3a735812894ee2313d to your computer and use it in GitHub Desktop.
# Ejercicio 441: Iterar todos los elementos contenidos en un objeto conjunto.
# Ejercicio 441: Iterar todos los elementos contenidos en un objeto conjunto.
numeros = {0, 1, 1, 2, 2, 3, 4, 5, 5, 5, 6, 7, 8, 9}
print(type(numeros))
print(len(numeros))
print(numeros)
print()
for n in numeros:
print(n)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment