SHARE

TWEET

# Untitled

a guest
Feb 16th, 2019
122
Never

**Not a member of Pastebin yet?**

**, it unlocks many cool features!**

__Sign Up__- #This program will ask the base and height of a triangle to find the area
- def area_triangle(): #defines the function
- base = input("what is the base of the triangle")
- height = input( "what is the height of the triangle")
- area = .5 * ( int(base) * int(height)) # equation for area inside a triangle
- print(area)
- area_triangle() #actually runs the function

RAW Paste Data

We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy.