-
Notifications
You must be signed in to change notification settings - Fork 2
/
preferences.py
36 lines (25 loc) · 1.01 KB
/
preferences.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
class Preferences:
def __init__(self, name, languages, years, genres, ordering):
self.name = name
self.years = years
self.languages = languages
self.genres = genres
self.ordering = ordering
print("Finding a good movie for ", self.name)
def get_budget():
# classify later
budget = input("What budget?")
def get_vote_type():
# from users or critics or their avg
vote_type = input("Which vote type?")
def get_gross():
# usa gross or worldwide gross? separate columns
# if want English lang film, then add USA gross or otherwise worldwide gross
gross_amount = input("How much for minimum gross?")
def get_production_company():
# like Disney
prod_company = input("Are you looking for a movie from a specific production company?")
def ordering_func():
order = input("question?")
# extras for later
# director - see who are the top 10 directors or directors with more than X movies