We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19bea20 commit c10af4bCopy full SHA for c10af4b
1 file changed
madlib_game.py
@@ -0,0 +1,10 @@
1
+def madlib():
2
+ noun1=input("Enter a noun: ")
3
+ place=input("Enter a place: ")
4
+ adjective=input("Enter an adjective: ")
5
+ verb=input("Enter a verb:")
6
+ preposition=input("Enter a preposition: ")
7
+ noun2=input("Enter a noun: ")
8
+ print(f"Once upon a time in {place}, there was a {adjective} {name1} who loved to {verb} {preposition} the {noun}.")
9
+if __name__=='__main__':
10
+ madlib()
0 commit comments