# -*- coding: utf-8 -*-
"""
功能:计算三角形面积
作者:zlw
日期:11.20
"""
count=0
for a in range(1,20):
for b in range(a,20):
for c in range(b,20):
if a+b+c==20 and a+b>c:
count=count+1
print(a,b,c)
print('三角形面:{}'.format(count))