Exemple #1
0
def read_from_csv():
    People.output_People(People.read_from_csv())
Exemple #2
0
def read_from_txt():
    People.output_People(People.read_from_txt())
Exemple #3
0
def order_by_age():
    People.output_People(sorted(docs, key=People.get_age))
Exemple #4
0
def order_by_age_desc():
    People.output_People(sorted(docs, key=People.get_age, reverse=True))
Exemple #5
0
def order_by_score():
    People.output_People(sorted(docs, key=People.get_score))
Exemple #6
0
def show_people_info():
    People.output_People(docs)