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
Stacy plans to print her contacts and would like to choose an option that will print select information for each contact in a bu
Fed [463]

Answer:

Card style

Explanation:

Microsoft Word refers to a word processing software application or program developed by Microsoft Inc. to enable its users type, format and save text-based documents.

In Microsoft Word 2019, the users are availed with the ability to edit the word document in the following view type;

I. View Mode.

II. Print Mode.

III. Drift Layout.

Generally, end users are able to print a hard copy (physical copy) of the word document they created through the use of a printer.

In this scenario, Stacy plans to print her contacts and would like to choose an option that will print select information for each contact in a business card format. Therefore, the option she should choose is Card style.

The Card style is designed to present informations in a grid-like format or landscape arrangement.

4 0
3 years ago
Why can’t I see one individual’s questions in the app through their profile, but I can see their questions on the website?
Mumz [18]

Answer:

I think thats just a software issue. i have the same problem

Explanation:

7 0
3 years ago
Read 2 more answers
This is a legitimate question if you have a problem then just ignore it. What is the difference between CRVM and SAPX in a progr
g100num [7]

Answer: SAPX is used with Java

Explanation:

4 0
3 years ago
Read 2 more answers
Using tracking code, google analytics can report on data from which systems?
soldier1979 [14.2K]
The correct answers are:
<span>E-commerce platformsMobile
Applications
Online point-of-sales systems
Source and explanation: https://goo.gl/guJKC9
</span>
6 0
3 years ago
Assume you're using a three button mouse. To connect shortcut menus, you would what
Grace [21]
You would click the right button to a shortcuts

5 0
3 years ago
Other questions:
  • It is a good idea to use more than one typeface in a document when _____.
    8·2 answers
  • Create a program that reads words.txt (link near top of our home page) in order to: determine the length of the longest word(s)
    14·1 answer
  • A ___________ is similar to Computer Integrated Manufacturing, but is based much more on standard reusable application software
    5·1 answer
  • ¿Quién recibe la orden de ejecución de un programa enviada por el usuario?
    9·1 answer
  • What reforms were made by the British government in India after the war of independence? write any three
    5·1 answer
  • Escribe 10 ejemplos de lo que consideras un byte
    5·1 answer
  • How can she change that value so it is reflected in the chart in her presentation?
    5·2 answers
  • Which is government departments fund the Global Positioning System
    6·1 answer
  • Write a Pascal program that will prompt the user to enter the radius of a circle.
    9·1 answer
  • the first thing to do when your computer gives you an error message is A restart the computer B press the F2 key C write down th
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!