# Pseudocode def average_price(table): return sum(table.price) / len(table)