Created
April 22, 2021 12:59
-
-
Save mugan86/84dbe28a60060720ec86d03e963675d5 to your computer and use it in GitHub Desktop.
Generador Mad Libs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hola
que hay
esta todo bien
como estan todos
quiero ir a casa