FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
programminginpython.com/area_of_triangle.py at master · KalaiarasanK/programminginpython.com · GitHub
KalaiarasanK
/
programminginpython.com
Public
forked from
avinashn/programminginpython.com
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
programminginpython.com
/
area_of_triangle.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
10 lines (7 loc) · 262 Bytes
Breadcrumbs
programminginpython.com
/
area_of_triangle.py
Copy path
File metadata and controls
10 lines (7 loc) · 262 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
__author__
=
'Avinash'
a
=
float
(
input
(
'Enter first side: '
))
b
=
float
(
input
(
'Enter second side: '
))
c
=
float
(
input
(
'Enter third side: '
))
s
=
(
a
+
b
+
c
)
/
2
area
=
(
s
*
(
s
-
a
)
*
(
s
-
b
)
*
(
s
-
c
))
**
0.5
print
(
'The area of the triangle is %0.2f'
%
area
)
Back
|
FazBrowse Home
|
New Git URL