Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def triangle():
- print("Can you give me the dimensions of a triangle")
- num1 = float(input("Height > "))
- num2 = float(input("Base > "))
- result = float(num1 * num2)/2
- Area = str(result)
- print("Area of the Triangle is " + Area)
- triangle()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement