Skip to content

Breakout Room 7 - Implementing Mad Libs Generator#8

Open
anselrognlie wants to merge 1 commit intomainfrom
Breakout-Room-7
Open

Breakout Room 7 - Implementing Mad Libs Generator#8
anselrognlie wants to merge 1 commit intomainfrom
Breakout-Room-7

Conversation

@anselrognlie
Copy link

No description provided.

print ("Well it is.")
print ("------------------------------------------")
// Loop back to "loop = 1"
loop = loop + 1
Copy link
Collaborator

@rachanapatel rachanapatel Apr 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider writing a test where the user input is empty, or not a string value, as well as another one with valid user inputs

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea!

Copy link
Collaborator

@smilesmilejin smilesmilejin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work! I have left some comments.

Comment on lines +3 to +4
loop = 1
while (loop < 9):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider the number of iterations needed for the while loop. Here are some suggestions to ensure it runs 10 times to generate 10 stories:

loop = 0
while (loop < 10):

Copy link
Collaborator

@YasielLopez YasielLopez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks really good! I did notice a few bugs:

  • use # instead of // on line 1 and line 5

  • this should be a while loop that looks like this while loop < 10:

  • typo on line 13. currently, it's seond_noun, but it should be second_noun

  • loop only runs 9 times instead of 10. should update that to meet the requirements of the project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants