gistlib
main.pydef average(data): return sum(data) / len(data) # Example data = [10, 20, 30, 40, 50] avg = average(data) print("Average:", avg) 134 chars8 lines
def average(data): return sum(data) / len(data) # Example data = [10, 20, 30, 40, 50] avg = average(data) print("Average:", avg)
gistlibby LogSnag