summaryrefslogtreecommitdiff
path: root/progs/a25.py
blob: 30674f963ae3053700dbaa6e0fec7a721ea6c024 (plain)
1
2
3
4
def triangle_area(r) :  
    if r < 0 : 
        return -1
    return r * r