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

According to Hall’s drawing, which of the following words might describe the experience of fighting on Leyte Island? A. dull and boring B. stressful and diffi
Solve. i really need help z =
What does a variable next to a number mean?
which mineral is most frequently found in both granitic continental crust and basaltic oceanic crust"
The Nuclear Non-Proliferation Treaty went into effect beginning in 1970 for a period of 25 years. In 1995, an international conference __________.
express the percent as a decimal 76.7%
What does 0.1x = 0.2y + 2 look like on a graph
1m is 1cm in fractions
The ____________ produces an image of a specimen by passing visible light through it.                 A)           LM                 B)            SEM
jan, mya, and Sara ran a total of 64 miles last week. jan and mya ran the same number of miles. Sara ran 8 less miles than mya. how many miles did Sara run?