Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python mad libs

print("mad libs game")
print("fill each below to go to next question after you typed the first one press enter to go to the scond one ")


name = input("Enter a name:  ")
age = input("Enter a age:  ")
celebrity = input("Enter a celebrity:  ")

print("There once was a man named " + name)
print("He was "+ age)
print("He Love "+celebrity)
 
PREVIOUS NEXT
Tagged: #python #mad #libs
ADD COMMENT
Topic
Name
2+3 =