Tom_Jung

Untitled

Jan 22nd, 2019
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. def tri_area(base, height):
  2.  
  3. area = 0.5 * base * height
  4.  
  5. return area
  6.  
  7. print(tri_area(10, 10))
  8.  
  9. print(tri_area(15, 10))
Advertisement
Add Comment
Please, Sign In to add comment