-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRandom-Names.py
More file actions
68 lines (63 loc) · 1.52 KB
/
Random-Names.py
File metadata and controls
68 lines (63 loc) · 1.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
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)