-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathhints.py
37 lines (36 loc) · 877 Bytes
/
hints.py
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
import random
facts = {
'charlie': [
'ask him about the fast.ai course',
'he loves pizza',
'he is writing a book right now'
],
'jack': [
'loves reading books',
"his fiancee's name is Ali",
'studying law right now'
],
'brian': [
'just got married!',
],
'peter': [
'lives in san francisco',
'just bought a new fishing pole from a pawn shop',
],
'michael': [
'his band name is dark city strings',
'works in new york city',
'needs a haircut',
],
'luke': [
'lives in chicago',
'working in the entertainment industry',
],
'jimmy': [
'just got his PhD!',
'works and lives in kansas now',
'loves garfield comics',
]
}
def fact_finder(label: str) -> str:
return random.choice(facts[label])