a = float(input('a='))
b = float(input('b='))
c = float(input('c='))
if a+b > c and a+c > b and c+b > a:
print('周长:%f' % (a+b+c))
p = (a+b+c)/2
area = (p*(p-a)*(p-b)*(p-c))**0.5
print('面积:%f' % area)
else:
print('三个边长够不了一个三角形')
s = "Python syntax highlighting"
print s
第一篇markdown 第一篇markdown
小明 | 大明 | 姚明 |
---|---|---|
1.5 | 1.6 | 2.3 |
2 | 2 | 3 |
\lim_{x \to \infty}\frac{sin(x)}{x}=1
在文本中间插入公式
b站教你Markdown+VSCODE实现最完美流畅写作体验
本文章使用limfx的vscode插件快速发布