-
-
Notifications
You must be signed in to change notification settings - Fork 256
/
selector.py
34 lines (28 loc) · 874 Bytes
/
selector.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
"""
Easy Python project :P
Random friend selector to decide who to FaceTime!!!
YouTube Kylie Ying: https://www.youtube.com/ycubed
Twitch KylieYing: https://www.twitch.tv/kylieying
Twitter @kylieyying: https://twitter.com/kylieyying
Instagram @kylieyying: https://www.instagram.com/kylieyying/
Website: https://www.kylieying.com
Github: https://www.github.com/kying18
Programmer Beast Mode Spotify playlist: https://open.spotify.com/playlist/4Akns5EUb3gzmlXIdsJkPs?si=qGc4ubKRRYmPHAJAIrCxVQ
"""
import random
friends = [
'Olek',
'Carmela',
'Laura',
'Megan',
'Keith',
'Anna',
'Skyler',
'Amy',
'Nadya'
]
# random.randint(1, 5) --> random number between 1 and 5
# random.choice(array) --> random item in this array
selected = random.choice(friends) # randomly choose a friend
print('Who should I facetime today?')
print(selected)