1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
kirill115 [55]
2 years ago
15

Def area(length, height):

Computers and Technology
1 answer:
Basile [38]2 years ago
6 0

Following are the <em><u>python complete code </u></em>to calculate the area:

Program Explanation:

  • Defining a method "area" that takes two variables "length, height" in the parameters.
  • Inside the method, a variable "area" is declared that calculates the area by multiplies "length and width".
  • After calculating the area a return keyword is used that returns its value.
  • Outside the method, a print method is declared that calls the area method by accepting value into its parameters.

Program:

def area(length, height):#defining a method area that takes two parameters "length, height"  

  area = length * height#defining a variable area that calculates the area by multiplies length and width  

  return area#using return keyword that returns area value  

print(area(9,8))#using a print method that calls area method by accepting the value  

Output:

Please find the attached file.

  • <u>In this code, the </u><u>method call</u><u> is missing therefore, the final answer is</u> "Option A".

Learn more:

brainly.com/question/24819022

You might be interested in
In Super Mario 64, a character called Lakitu follows Mario around on a cloud, filming him with a camera as though he were shooti
ella [17]

Answer:

A second person prespective

Explanation:

6 0
3 years ago
Read 2 more answers
Define a class named person that contains two instance variables of type string that stores the first name and last name of a pe
Katarina [22]

Answer:

Answered below

Explanation:

//Program is written using Java programming language.

Class Person {

private string firstName;

private string lastName;

void set firstName(string a){

firstName = a;

}

string getFirstName(){

return firstName;

}

void setLastname( string b){

lastName = b;

}

string getLastName( ){

return lastName;

}

void displayDetails( ) {

System.out.print(firstName);

System.out.print (lastName);

}

}

//Test program

Class Main{

public static void main(String args [] ){

Person person = new Person( )

person.setFirstName("Karen")

System.out.print(person.getFirstName)

person.displayDetails()

}

}

5 0
3 years ago
Predictive Algorithms Identify one use/application in which tprediction might cause significant ethical harms.
horrorfan [7]
I do believe this would be true.
4 0
3 years ago
Under which menu option of a word processing program does a callout appear?
yuradex [85]
The TAB is INSERT and the MENU is SHAPES. I hope that this is the answer that you were looking for and it has helped you.
6 0
3 years ago
Read 2 more answers
Split the worksheet into panes at cell G1.
nikdorinn [45]

Answer:

1. Select below the row where you want the split, or the column to the right of where you want the split.

2. On the View tab, in the Window group, click Split.

Explanation:

3 0
3 years ago
Other questions:
  • What is a functional simulation?
    14·1 answer
  • Can I have help on this
    7·2 answers
  • In a Microsoft® Word® document, if a user wanted to organize information in rows in columns, they should select a
    5·1 answer
  • Which are advantages of using a server operating system?
    12·1 answer
  • Which property is assigned to a file by the operating system?
    13·1 answer
  • Lianna is an Information Technology professional. She usually spends her days creating custom programs for her company by writin
    14·1 answer
  • Which is the correct notation to specify the following inheritance?
    8·1 answer
  • Which of the four digital-to-analog conversion techniques (ASK, FSK, PSK or QAM) is the most susceptible to noise? Defend your a
    11·1 answer
  • What are the main techniques used to help manage test anxiety? Check all that apply.
    6·2 answers
  • PLS HELP WITH MY PYTHON HW ILL GIVE YOU BRAINLIEST
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!