From 6b493d183b3b7b348988e64d81803dc36d7cda25 Mon Sep 17 00:00:00 2001 From: Andrea Piombo Date: Sun, 30 Jul 2023 13:13:12 +0200 Subject: [PATCH] Update Mad Libs Generator.py Comments are now in valid pythonic syntax --- Mad Libs Generator.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Mad Libs Generator.py b/Mad Libs Generator.py index 4a986f6fc39..e8bd53b3a93 100644 --- a/Mad Libs Generator.py +++ b/Mad Libs Generator.py @@ -1,14 +1,14 @@ -//Loop back to this point once code finishes +#Loop back to this point once code finishes loop = 1 while (loop < 10): -// All the questions that the program asks the user +# All the questions that the program asks the user noun = input("Choose a noun: ") p_noun = input("Choose a plural noun: ") noun2 = input("Choose a noun: ") place = input("Name a place: ") adjective = input("Choose an adjective (Describing word): ") noun3 = input("Choose a noun: ") -// Displays the story based on the users input +# 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,",") @@ -18,5 +18,5 @@ print ("You may think that is this the",noun3,",") print ("Well it is.") print ("------------------------------------------") -// Loop back to "loop = 1" +# Loop back to "loop = 1" loop = loop + 1