Skip to content

Instantly share code, notes, and snippets.

Created Apr 17, 2018
What would you like to do?
lista = [1, 50, 30]
if 50 in lista: # Imprime lo de abajo
print("El número 50 existe en la lista")
otra_lista = ["perro", "gato", "conejo"]
if "caballo" in otra_lista: #No imprime nada
print("caballo existe dentro de otra_lista")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment