File tree Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Original file line number Diff line number Diff line change 1+ """ Mad Libs Generator
2+
3+ ----------------------------------------
4+
5+ """
6+
7+ #Loop back to this point once code finishes
8+
9+ loop = 1
10+
11+ while (loop < 10 ):
12+
13+ # All the questions that the program asks the user
14+
15+ noun = input ("Choose a noun: " )
16+
17+ p_noun = input ("Choose a plural noun: " )
18+
19+ noun2 = input ("Choose a noun: " )
20+
21+ place = input ("Name a place: " )
22+
23+ adjective = input ("Choose an adjective (Describing word): " )
24+
25+ noun3 = input ("Choose a noun: " )
26+
27+ #Displays the story based on the users input
28+
29+ print ("------------------------------------------" )
30+
31+ print ("Be kind to your" ,noun ,"- footed" , p_noun )
32+
33+ print ("For a duck may be somebody's" , noun2 ,"," )
34+
35+ print ("Be kind to your" ,p_noun ,"in" ,place )
36+
37+ print ("Where the weather is always" ,adjective ,"." )
38+
39+ print ()
40+
41+ print ("You may think that is this the" ,noun3 ,"," )
42+
43+ print ("Well it is." )
44+
45+ print ("------------------------------------------" )
46+
47+ # Loop back to "loop = 1"
48+
49+ loop = loop + 1
You can’t perform that action at this time.
0 commit comments