-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.py
More file actions
30 lines (23 loc) · 992 Bytes
/
main.py
File metadata and controls
30 lines (23 loc) · 992 Bytes
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
from random import randint
def main():
quit = ""
word = ['Vintage', 'Music', 'LP', 'Vinyl', 'record', 'Phonograph', 'Art', 'Lover', 'DJ', 'Retro']
while quit != "q":
list1 = word[randint(0, len(word) - 1)]
list2 = word[randint(0, len(word) - 1)]
list3 = word[randint(0, len(word) - 1)]
list4 = word[randint(0, len(word) - 1)]
list5 = word[randint(0, len(word) - 1)]
list6 = word[randint(0, len(word) - 1)]
list7 = word[randint(0, len(word) - 1)]
list8 = word[randint(0, len(word) - 1)]
final = list1 + " " + list2 + " " + list3 + " " + list4 + " " + list5 + " " + list6 + " " + list7 + " " + list8
if 50 < len(final) < 61 :
print(final)
input()
quit = input("enter q to quit")
if quit == "q":
break
if __name__ == '__main__':
main()
# See PyCharm help at https://www.jetbrains.com/help/pycharm/