Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def triangle_area():
- height=int(input("What is the height of the triangle?"))
- base=int(input("What is the base of the triangle?"))
- area=(height*base)
- print("The area of your triangle is ",area)
- triangle_area()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement