Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Herons rule python

import math
a = 3
b = 4
c = 5
s = (3 + 4 + 5)/2
F = math.sqrt(s*(s-a)*(s-b)*(s-c))
print(f"the area is {F}")
Source by cs.hi.is #
 
PREVIOUS NEXT
Tagged: #Herons #rule #python
ADD COMMENT
Topic
Name
8+9 =