Skip to content

Instantly share code, notes, and snippets.

@Fhernd
Created December 27, 2019 15:28
Show Gist options
  • Save Fhernd/48a7f371f1e866ee5de6861fb070dfd3 to your computer and use it in GitHub Desktop.
Save Fhernd/48a7f371f1e866ee5de6861fb070dfd3 to your computer and use it in GitHub Desktop.
# Ejercicio 454: Encontrar los valores mínimo y máximo en un objeto conjunto.
# Ejercicio 454: Encontrar los valores mínimo y máximo en un objeto conjunto.
numeros = set([13, 2, 19, 7, 5, 11, 3])
print(numeros)
minimo = min(numeros)
print(minimo)
maximo = max(numeros)
print(maximo)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment