Add: Random name generator

This commit is contained in:
Aroy-Art 2022-12-07 21:30:54 +01:00
parent 3f02973e63
commit 92d6f446b6
Signed by: Aroy
GPG key ID: 583642324A1D2070

68
Random-Names.py Normal file
View file

@ -0,0 +1,68 @@
import random
first_names = [
'John',
'Jane',
'Corey',
'Travis',
'Dave',
'Kurt',
'Neil',
'Sam',
'Steve',
'Tom',
'James',
'Robert',
'Michael',
'Charles',
'Joe',
'Mary',
'Maggie',
'Nicole',
'Patricia',
'Linda',
'Barbara',
'Elizabeth',
'Laura',
'Jennifer',
'Maria'
]
last_names = [
'Smith',
'Doe',
'Jenkins',
'Robinson',
'Davis',
'Stuart',
'Jefferson',
'Jacobs',
'Wright',
'Patterson',
'Wilks',
'Arnold',
'Johnson',
'Williams',
'Jones',
'Brown',
'Davis',
'Miller',
'Wilson',
'Moore',
'Taylor',
'Anderson',
'Thomas',
'Jackson',
'White',
'Harris',
'Martin'
]
full_names = []
for i in range(100):
first = random.choice(first_names)
last = random.choice(last_names)
full_names.append(f"{first} {last}")
print(full_names)