gbalaskas90 gbalaskas90
  • 22-07-2022
  • Computers and Technology
contestada

def rectangle_area(base,height):
area =base * height
return area


print("The area is ", rectanle_area(5,6))

ive been typing theabove in my answer but it still say "NOT QUITE"

Respuesta :

lhmarianateixeira
lhmarianateixeira lhmarianateixeira
  • 25-07-2022

Using the computer language in python to write a function code that calculates the area of ​​a rectangle.

Writting the code in python:

def rectangle_area(base, height):

z = base*height  # the area is base*height

print("The area is " + str(z))

rectangle_area(5,6)

See more about python at brainly.com/question/18502436

#SPJ1

Ver imagen lhmarianateixeira
Answer Link

Otras preguntas

what goal of the constitution was also a goal of the Magna Carta?
what goal of the constitution was also a goal of the Magna Carta?
what goal of the constitution was also a goal of the Magna Carta?
what goal of the constitution was also a goal of the Magna Carta?
what goal of the constitution was also a goal of the Magna Carta?
what goal of the constitution was also a goal of the Magna Carta?
what goal of the constitution was also a goal of the Magna Carta?
what goal of the constitution was also a goal of the Magna Carta?
what goal of the constitution was also a goal of the Magna Carta?
what goal of the constitution was also a goal of the Magna Carta?