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
Black_prince [1.1K]
3 years ago
9

Help plz (will give brainliest)

Computers and Technology
1 answer:
Ivan3 years ago
8 0

Answer:

The answer to this question is given below in the explanation section.

Explanation:

This is the python program in the question that is:

def sum(n1,n2):

n=n1+n2

return n

The question is: write a function CALL that displays the return value on the screen.

So, the correct program is written below:

*********************************************************************  

def sum(n1,n2):<em># it is function that define sum </em>

<em>  </em>n=n1+n2 <em># variable n that store the result of n1 and n2 </em>

<em>  </em>return n <em># return the result </em>

<em> </em>

print(sum(3,5))<em># call the sum function with parameter 3 and 5 , it will print </em><em>8</em>

print(sum(4,101))

<em># call the sum function with parameter 4 and 101 it will print </em><em>105</em>

********************************************************************************

you can also store the sum result into another variable, because this function return the sum. So, you can store that return value into another vairable and using the print function, to print the value of this variable such as:

*****************************************************************************

def sum(n1,n2):<em># it is function that define sum </em>

<em> </em> n=n1+n2<em> # variable n that store the result of n1 and n2 </em>

<em> </em> return n <em># return the result </em>

<em> </em>

result= sum(6,9) <em># store the sum result into another variable i.e result </em>

print(result)<em># print the result variable value </em>

*****************************************************************************

You might be interested in
A storage location in the computer's memory that can hold a piece of data is called:
Zigmanuir [339]

Answer:

b. a variable

Explanation:

A variable holds a specific type of data

3 0
3 years ago
In one week, your company received the following quantities of e-mail messages. Monday 240 Tuesday 315 Wednesday 290 Thursday 18
Vika [28.1K]

Answer:

280

Explanation:

Average = (240 + 315 + 290 + 180 + 375) ÷ 5

= 1400 ÷ 5

= 280

Cheers

3 0
3 years ago
What rule should be followed when determining how many bullets you will include on a slide
stiks02 [169]
They answer to your problem is C
8 0
4 years ago
Read 2 more answers
A(n) ______ is software that finds websites, webpages, images, videos, and other information related to a specific topic.
zzz [600]

Answer:

Search Engine

Explanation:

A search engine is used to crawl most of the web sites based on there content (mostly defined in metadata tag in web pages) in order to search information according to the given query submitted by user. Search Engine will then provides a list of matched results that user want to find.

3 0
3 years ago
Cuantos días tiene un año
Arte-miy333 [17]

Answer: 365 dias

Explanation:

4 0
2 years ago
Other questions:
  • A password checking system that disallows user passwords that are proper names or words that are normally included in a dictiona
    15·1 answer
  • What characteristics need to be exhibited by an organisation to improve its software process?
    7·1 answer
  • How to fix dark images?<br><br>I am using a phone btw​
    14·2 answers
  • Some IOS commands store passwords as clear text, but you can then encrypt the passwords with the service password-encryption glo
    10·1 answer
  • Select the correct answer.
    10·2 answers
  • Which option is referred to by the Reports Due tag?
    7·1 answer
  • Need answer ASAP plz
    8·1 answer
  • A computer is performing a binary search on the sorted list of 7 numbers below. What is the maximum number of iterations needed
    15·1 answer
  • Please solve the ones you can. Solving Both will be appreciated. thank you
    13·1 answer
  • The basic component of the drive train system is the ____________.
    12·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!