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

Why did her grandmother hope to buy her own children -slave girl
The density of oxygen is 1.43 x 10 -3 kg/m3. If a canister of oxygen has a mass of 0.2 kg, find the volume.
I need help I don't understand
Which graph shows the relationship between the aggregate price level and the aggregate quantity supplied over time? A: Long-run aggregate supply curve B: Aggreg
The ____ command will confirm the system directory that you are currently in
A baseball weighs 5 ounces and the NY Yankees ordered 3,200 baseballs. How many tons do the baseballs weigh?
Samantha has 14 yards of ribbon. She wraps 12 presents and uses 5/6 yards of ribbon to decorate each present. The total amount of the ribbon she used is modeled
rectangular cake pans X and Y are similar. The ratio of the width of the pan X to the width of pan Y is 3 : 4. The length of pan X is 10 inches, and is 5 inches
A work in which a satirist creates new, humorous lyrics for a well-known song would be an example of
Referring to y = x + 2, the set of values assigned to x is called the —