Skip to content

Instantly share code, notes, and snippets.

@israelem
Created August 3, 2017 22:33
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save israelem/59e429cb3a95ac21909cd864a9d30c19 to your computer and use it in GitHub Desktop.
Save israelem/59e429cb3a95ac21909cd864a9d30c19 to your computer and use it in GitHub Desktop.
Lee tres números, dos son los extremos de un intervalo y el tercero es el número que hay que comprobar si se encuentra en el intervalo.
"""
Lee tres números, dos son los extremos de un intervalo y el tercero es el número que hay que comprobar si se encuentra en el intervalo.
"""
minimo = int(input())
maximo = int(input())
numero = int(input())
print(minimo <= numero <= maximo)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment