枚举解配方

1 统计配方组合

2 统计配方数量

r = 0
for i in range(5):
	for j in range(5):
		if i + j <= 5:
			r += 1

print(r)

>>> 19