domingothegamer

Untitled

Sep 17th, 2014
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.12 KB | None | 0 0
  1. def mathfunction():
  2.     import math
  3.     a = 1
  4.     b = 2
  5.     c = 3
  6.     s = (a + b + c)/2
  7.     A = math.sqrt(s*(s-a)*(s-b)*(s-c))
  8.     print(A)
Advertisement
Add Comment
Please, Sign In to add comment