Breakout Room 4 - Implementing Mad Libs Generator#5
Breakout Room 4 - Implementing Mad Libs Generator#5anselrognlie wants to merge 1 commit intomainfrom
Conversation
| noun = input("Choose a noun: ") | ||
| plural_noun = input("Choose a plural noun: ") | ||
| second_noun = input("Choose a noun: ") | ||
| place = input("Name a place: ") |
There was a problem hiding this comment.
For consistency consider using "Choose" instead of "Name"
| place = input("Name a place: ") | |
| place = input("Choose a place: ") |
| // Displays the story based on the users input | ||
| print ("------------------------------------------") | ||
| print ("Be kind to your",noun,"- footed", plural_noun) | ||
| print ("For a duck may be somebody's", seond_noun,",") |
There was a problem hiding this comment.
Typo.
| print ("For a duck may be somebody's", seond_noun,",") | |
| print ("For a duck may be somebody's", second_noun,",") |
| // All the questions that the program asks the user | ||
| noun = input("Choose a noun: ") | ||
| plural_noun = input("Choose a plural noun: ") | ||
| second_noun = input("Choose a noun: ") |
There was a problem hiding this comment.
Add details to the input, we need to clarify that this is the second noun:
input("Choose a second noun: ")
| // All the questions that the program asks the user | ||
| noun = input("Choose a noun: ") | ||
| plural_noun = input("Choose a plural noun: ") | ||
| second_noun = input("Choose a noun: ") |
There was a problem hiding this comment.
| second_noun = input("Choose a noun: ") | |
| second_noun = input("Choose a second noun: ") |
| second_noun = input("Choose a noun: ") | ||
| place = input("Name a place: ") | ||
| adjective = input("Choose an adjective (Describing word): ") | ||
| third_noun = input("Choose a noun: ") |
There was a problem hiding this comment.
| third_noun = input("Choose a noun: ") | |
| third_noun = input("Choose a third noun: ") |
| print ("Be kind to your",plural_noun,"in",place) | ||
| print ("Where the weather is always",adjective,".") | ||
| print () | ||
| print ("You may think that is this the",third_noun,",") |
There was a problem hiding this comment.
There's a small mix-up in the syntax
| print ("You may think that is this the",third_noun,",") | |
| print("You may think that this is the " + third_noun + ",") |
TatyanaA90
left a comment
There was a problem hiding this comment.
Great start on building out the story generator! To fully meet the project requirements, the code should include at least two test cases that check the functionality and formatting of the output
| loop = 1 | ||
| while (loop < 9): |
There was a problem hiding this comment.
Will only loop 8 times (from 1 to 8), not 10 — consider using while loop <= 10 or range(10)
| print ("------------------------------------------") | ||
| print ("Be kind to your",noun,"- footed", plural_noun) | ||
| print ("For a duck may be somebody's", seond_noun,",") | ||
| print ("Be kind to your",plural_noun,"in",place) |
There was a problem hiding this comment.
There's a small mix-up in the syntax
| print ("Be kind to your",plural_noun,"in",place) | |
| print ("Be kind to your", plural_noun, "in the", place + ",") |
No description provided.