Using the computer language in python to write a function code that calculates the area of a rectangle.
<h3>Writting the code in python:</h3>
<em>def rectangle_area(base, height):</em>
<em> z = base*height # the area is base*height</em>
<em> print("The area is " + str(z))</em>
<em>rectangle_area(5,6)</em>
See more about python at brainly.com/question/18502436
#SPJ1