def tri_area(base, height): return base * height / 2 tri_area(2, 3)
In [1]: def tri_area(base, height): ...: return base * height / 2
Shift
Return
In [2]: tri_area(2, 3)
Out[2]: 3
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)