Skip to content

Commit 6b493d1

Browse files
authored
Update Mad Libs Generator.py
Comments are now in valid pythonic syntax
1 parent e23e5e9 commit 6b493d1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Mad Libs Generator.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
//Loop back to this point once code finishes
1+
#Loop back to this point once code finishes
22
loop = 1
33
while (loop < 10):
4-
// All the questions that the program asks the user
4+
# All the questions that the program asks the user
55
noun = input("Choose a noun: ")
66
p_noun = input("Choose a plural noun: ")
77
noun2 = input("Choose a noun: ")
88
place = input("Name a place: ")
99
adjective = input("Choose an adjective (Describing word): ")
1010
noun3 = input("Choose a noun: ")
11-
// Displays the story based on the users input
11+
# Displays the story based on the users input
1212
print ("------------------------------------------")
1313
print ("Be kind to your",noun,"- footed", p_noun)
1414
print ("For a duck may be somebody's", noun2,",")
@@ -18,5 +18,5 @@
1818
print ("You may think that is this the",noun3,",")
1919
print ("Well it is.")
2020
print ("------------------------------------------")
21-
// Loop back to "loop = 1"
21+
# Loop back to "loop = 1"
2222
loop = loop + 1

0 commit comments

Comments
 (0)