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]
2 years ago
9

Help plz (will give brainliest)

Computers and Technology
1 answer:
Ivan2 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
How has information technology made piracy possible
ololo11 [35]
Well, more and more people are buying products and then uploading them online so that other people, who may not have the money or just don't want to buy them can download them for free. Of course, this is illegal, however it is a common practice all over the globe. Even if you are not downloading, but rather just watching a show on a website where you don't have to pay for it - it is still piracy.
3 0
3 years ago
Which tool can you use to display hardware utilization statistics that tell you about the operation of your computer?
defon

Performance monitor tool can you use to display hardware utilization statistics.

<h3>what is a performance Monitor?</h3>
  • Performance Monitor is a system monitoring program introduced in Windows NT 3.1. It monitors various activities on a computer such as CPU or memory usage.

To learn more about performance monitoring, refer

to brainly.com/question/12960090

#SPJ4

7 0
2 years ago
In the line of code shape ("classic") which part of the code is the argument
Mekhanik [1.2K]
Whatever is in the parenthese
5 0
3 years ago
Read 2 more answers
Which of the following color palettes for the BackColor and ForeColor properties contains colors that are guaranteed to be displ
Norma-Jean [14]

Answer: 1)System Palette

Explanation: System palette is kind of palette found in the system which contain the color values that is used by the display.This palette is also  drawing of the devices and applications.But the application don't get the direct access to the system palette rather logical palette permits it.

They work on the basis of the properties carried from the Back color and Fore color.Other palettes mention in the option is incorrect because these palettes don't work for the operating system's display .Thus the correct option is option(1).

8 0
3 years ago
Complete the sentence.
anastassius [24]

Answer:

Compilation

Explanation:

" <em>Python is an interpreted, high-level, general-purpose programming language. It is is dynamically typed and garbage-collected. </em>"

But first it does a compilation for a file with the extension `<em>.pyc</em>`, so the answer is compilation, even though <em>python</em> is being <em>interpreted</em>

8 0
2 years ago
Other questions:
  • What will be a fundamental aspect of future games??
    12·2 answers
  • You should use the longest possible shutter speed for all firework photographs.
    8·2 answers
  • True or false? when intel places a sticker on computers showing their chip is inside, they are demonstrating their visible value
    7·1 answer
  • Where are the Add Level and Delete Level buttons located? Filter options list Sort &amp; Filter group Sort dialog box Custom fil
    11·1 answer
  • Discuss some design considerations that you should keep in mind when you want to design a professional-looking flyer or newslett
    12·1 answer
  • Enter the answer.
    11·2 answers
  • In an information systems framework, ________ is the bridge between the computer side on the left and the human side on the righ
    14·1 answer
  • Calculate the cash available to retire debt for each of the six months. There is cash available to retire debt if there is a cas
    8·1 answer
  • What is the full form of RPM in computer ​
    10·2 answers
  • An agile team has which two characteristics? (choose two. ).
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!