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 is the root word for musician
what is 3m+15 factorised
Which answer is a correctly punctuated compound sentence? a. The printer is out of both ink and paper we'll have to buy some. b. The printer is out of both in
Choose all the answers that apply. Which of the following increases erosion? clearing forests leaving fields unplanted careless farming contour plowing crop ro
Why was the migration of the Aryans to India so importatnt
A sphere has a radius of 9 feet. A second sphere has a radius of 6 feet. What is the difference of the volumes of the spheres?
In which Nazi-occupied country did the D-Day landings led by General Eisenhower take place on June 6, 1944? A. Denmark B. Belgium C. Neth
Could the Allies have beaten Germany without a "second front" in Europe?
The style of the “______ Renaissance” was characterized by a sense of gravity and a balance of individual parts to the whole.
What would be the best organizational choice for a short story? a. spatial b. order of importance c. chronological order d. compare/contrast