Skip to content

Completed Random Name Generator Mini Project - Pending Review#12

Open
mjoseph26 wants to merge 3 commits intoalexnaylor99:mainfrom
mjoseph26:main
Open

Completed Random Name Generator Mini Project - Pending Review#12
mjoseph26 wants to merge 3 commits intoalexnaylor99:mainfrom
mjoseph26:main

Conversation

@mjoseph26
Copy link

I have completed the python code for the random name generator mini project and would like to have my code peer reviewed.

@MarioTawfelis
Copy link

MarioTawfelis commented Apr 5, 2023

If you want to check that the user did not enter the same name twice, you should be checking for cases as well (i.e. Mathew and mathew will bypass your current check). Apart from that, good job with the comments and with using functions!

@mjoseph26
Copy link
Author

Added check for cases for user input and prevented duplicate names.

@@ -0,0 +1,47 @@
import random;

Choose a reason for hiding this comment

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

Don't forget to update README file to give other developers a good brief of what this project does

@@ -0,0 +1,47 @@
import random;
names = []
#A user-defined function that collects names from the user to create a shortlist and verifies user input

Choose a reason for hiding this comment

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

Great use of comments to give information about the code

Modified variable names according to Python convention
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.

4 participants