This commit is contained in:
NikolajDanger
2020-08-13 17:09:26 +02:00
parent b82d233faf
commit 4ee96cd3b5
10 changed files with 14 additions and 19 deletions

View File

@ -29,7 +29,7 @@ def nameGen():
# Choses a random first letter
first_letter = random.choice(corpus)
# Makes sure the first letter is not something a name can't start with.
# Makes sure the first letter is not something a name can't start with.
while first_letter.islower() or first_letter == " " or first_letter == "-" or first_letter == "\n":
first_letter = random.choice(corpus)