Skip to content

Instantly share code, notes, and snippets.

@mugan86
Created April 22, 2021 12:59
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save mugan86/84dbe28a60060720ec86d03e963675d5 to your computer and use it in GitHub Desktop.
Save mugan86/84dbe28a60060720ec86d03e963675d5 to your computer and use it in GitHub Desktop.
Generador Mad Libs
# Mad Libs Generator - Charles Joseph Monaghan 11/10/2017
# Traducido por Anartz Mugika Ledo 23/04/2021
# Loop back to this point once code finishes
loop = 1
while (loop < 10):
# Todas las preguntas que se le realiza al usuario para que las conteste
noun = input("Selecciona un sustantivo: ")
p_noun = input("Selecciona un sustantivo en plural: ")
noun2 = input("Selecciona un sustantivo: ")
place = input("Nombra un lugar: ")
adjective = input("Selecciona un adjetivo (Describe una palabra): ")
noun3 = input("Selecciona un sustantivo: ")
# Displays the story based on the users input
print ("------------------------------------------")
print ("Be kind to your",noun,"- footed", p_noun)
print ("For a duck may be somebody's", noun2,",")
print ("Be kind to your",p_noun,"in",place)
print ("Where the weather is always",adjective,".")
print ()
print ("You may think that is this the",noun3,",")
print ("Well it is.")
print ("------------------------------------------")
# Loop back to "loop = 1"
loop = loop + 1
@Kader1992
Copy link

hola
que hay
esta todo bien
como estan todos
quiero ir a casa

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment