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

A water molecule gains enough energy to enter the gas phase is chemical or physical?why?
how do you do scientific notation? what is 1.20 x 10 to the 3rd power
What is the gel like substance in a plant and animal cell?
Brand A scooter has a top speed that goes 2 miles per hour faster than Brand B. if after hours, Brand A scooter traveled 24 miles, at what rate did Brand B scoo
What is the answer to 2c-5=c+4
Brand A scooter has a top speed that goes 2 miles per hour faster than Brand B. if after hours, Brand A scooter traveled 24 miles, at what rate did Brand B scoo
THE 3 STOOGES ARE ASKED WHO IS THE SMARTEST. TWO OF THEM ARE TRUTHFUL AND ONE IS A LIAR. LARRY SAYS CURLY IS THE SMARTEST, MOE SAYS LARRY IS THE SMARTEST AND CU
I am trying to get the intersection of 8-16-24-32 and16-32-48
which two numbers multiply to give you 100 and add to give you 10
What were the main policies and changes set forth by the Congress of Vienna (1814-15)?