Skip to content

Instantly share code, notes, and snippets.

@Mau5trakt
Created March 30, 2021 23:45
Show Gist options
  • Save Mau5trakt/f4b1a59eefff11f72602f9b3289cd58d to your computer and use it in GitHub Desktop.
Save Mau5trakt/f4b1a59eefff11f72602f9b3289cd58d to your computer and use it in GitHub Desktop.
Codigo para hacer un colacao en python
print("Me voy a la cocina")
print("Abro la nevera")
leche = input("¿Hay leche?(S/N): ")
hay_colacao = input("¿Hay Colacao?:(S/N) ")
if leche != 'S' or hay_colacao != "S":
print("Voy a comprar al súper... ")
if leche != 'S':
print("Compro leche")
if hay_colacao != "S":
print("Compro Colacao")
print("Ponemos la leche en el vaso")
print("Pone el cmosolacao en el vaso")
print("Mezclamos bien")
print("A disfrutar")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment