编程范式概念
Eleanor Thomas
Senior Data Analytics Engineer
纯函数
def pure_sum(x, y): output = x + y return output
非纯函数
def not_pure_sum(x, y): output = x + y print(output) return output