Các Khái Niệm Về Mô Hình Lập Trình
Eleanor Thomas
Senior Data Analytics Engineer

Hàm thuần
def pure_sum(x, y):
output = x + y
return output
Không phải hàm thuần
def not_pure_sum(x, y):
output = x + y
print(output)
return output

Các Khái Niệm Về Mô Hình Lập Trình