Skip to content

Roman - Random Name Generator#32

Open
Pova wants to merge 1 commit intoalexnaylor99:mainfrom
Pova:main
Open

Roman - Random Name Generator#32
Pova wants to merge 1 commit intoalexnaylor99:mainfrom
Pova:main

Conversation

@Pova
Copy link

@Pova Pova commented Apr 25, 2023

Added code for random name generator function

Added code for random name generator function
"""

#list comprehension to convert input string into list of names
name_list = [name.strip() for name in name_string.split(',')]

Choose a reason for hiding this comment

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

You could implement set() into your list of names to remove duplicates.

Copy link

@AmarildoGuga AmarildoGuga left a comment

Choose a reason for hiding this comment

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

Outstanding job Roman. We have a lot to learn from you with your fantastic solution to the problem and coding standards. Your code is very well documented and easy to follow. I like how you have implemented a lot of fail safes to make sure the users input do not contain any odd/special characters.

Lovely piece of work

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.

2 participants