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
Leto [7]
1 year ago
12

Lilyana has written the following function, but nothing happens when she runs her program. What has she forgotten to do?

Computers and Technology
1 answer:
Alex17521 [72]1 year ago
8 0

In this question, when Lilyana write a program to calculate the area, <em><u>she forgot to call the method</u></em> that's why it will not give any output. so, complete code with the output can be defined as follows:  

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(6,8))#using a print method that calls area method by accepting the value

Output:

Please find the attached file.

Learn more:

brainly.com/question/8908120

You might be interested in
Who is the father of computer ethics?​
IRINA_888 [86]

Answer:

<h3>Donn Parker Of SRI is the father of computer ethics.</h3>

Explanation:

Donn Parker of SRI, who is credited with being the "father of computer ethics" due to his interest during the 1960's with ethical concerns related to the newly emerging information technologies, defines computer ethics as the application of classical ethical prin- ciples to the use of computer technology 

3 0
2 years ago
On the line below, write two ways page numbers can be added to a document.
IgorC [24]

Answer: wiriting it and printing it

Explanation: duh

8 0
2 years ago
An automated search feature used by search engines to find that match your search terms is called a spider or
9966 [12]

Answer

Crawler

Explanation

This is a program that go to various website to read their pages and content provided in order to form entries for a search engine index.All search engines have this program called spider or a bot. It acts as an automated script that browses through the internet to scan the web pages and find words contained in the pages and where the words are used.


5 0
3 years ago
Read 2 more answers
Provide a brief, high-level description of how the Internet’s connection-oriented service provides reliable transport.
mario62 [17]

Answer:

  Connection-oriented is the method which is implemented in the transport and data link layer. It is basically depend upon the physical connection in the network system.

Transmission control protocol (TCP) is the connection oriented and user datagram protocol (UDP) is the connection less network transport layer. The TCP and UDP both are operate in the internet protocol (IP).

It basically require connection and it can be establish before sending data. This is also known as reliable network connection service. The connection oriented service establish connection between the different connection terminal before sending any data or information. It can easily handle traffic efficiently.

7 0
2 years ago
Mariel types a sentence. She then decides to include that sentence four more times. She then decides she only wants the sentence
Minchanka [31]
CTRL Z and CTRL Y
(undo)_____(redo)
8 0
3 years ago
Read 2 more answers
Other questions:
  • The term used to describe an electronic device, operating under the control of instructions stored in its own memory, that can a
    7·1 answer
  • Styles are modified by using the Office clipboard in the Home tab. true or false
    5·2 answers
  • In order to use an object in a program, its class must be defined.
    9·1 answer
  • Select the correct answer.
    13·1 answer
  • Which of the following software maintenance steps erases gaps caused by deleting files from the hard drive?
    10·1 answer
  • Rutherford concluded from his calculations that the volume of an atom is filled with protons, neutrons and electrons. is mostly
    14·1 answer
  • Which of the following is non-volatile storage?
    6·1 answer
  • 1. Describe how research and development influence design. Cite specific examples of how research and development influence desi
    11·1 answer
  • What are other ways you could use the shake or compass code blocks in physical computing projects?
    15·2 answers
  • HELP PLZZ WILL MARK BRAINLIEST
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!