Answer:
D
Explanation:
Which function will find the difference of 15 and 3 and return 12 when the main part of your program has the following line of code?
answer = subtract(15,3)
def Subtract(numA, numB):
return numA - numB
def Subtract(numA, numB):
return numB - numA
def subtract(numA, numB):
return numA - numB
def subtract(numA, numB):
return numB - numA
Answer:def subtract(numA, numB):
return numA - numB
Explanation:
i got the right answer but i was willing to get it wrong for the right anwser for you
The function that will find an accurate difference of 15 and 3 and return 12 when the main part of your program has the following line of code is as follows:
def subtract(numA, numB):return numA - numB
Thus, the correct option for this question is C.
What is the significance of the output of the program?The significance of the output of the program is understood by the fact that it delivers some values or concepts to the user with respect to the instruction he/she is given to the computer for processing. The output of the program is very specific in nature.
According to the question, you have to assume the value of number A as 15 and number B as 3. So, when you find the difference between these numbers, you get an output of 12.
You must follow the process as follows while framing a program:
def subtract(numA, numB):return numA - numB
Therefore, the correct option for this question is C.
To learn more about Output of a program, refer to the link:
https://brainly.com/question/18079696
#SPJ2
Question # 6
Math Formula
What is the output of this program? Assume the user enters 2, 5, 1, and 6.
numA = 0
for count in range(4):
answer = input ("Enter a number: ")
fltAnswer = float(answer)
numA = numA + fltAnswer
print (numA)
Answer:
14.0
Explanation:
The loop converts each answer to a float. The accumulator variable adds the values entered.
2.0 + 5.0 + 1.0 + 6.0 = 14.0
Answer:
14.0
Explanation:
Edge 2021
A peripheral can be used to tell a computer to complete a specific task.
A) True
B)False
Answer:
A. true
Explanation:
because you can complete it without it mistakes if your using an computer but if you use an paper you will make mistakes over and over
Before he buys a new smartphone, Tim can best use data to
evaluate which phone he should get.
convince himself he wants a phone.
discredit others’ opinions on his phone choice.
recognize problems that all phones have.
Answer:
A.) Evaluate which phone he should get
Explanation:
Edge2020
What does a coder do on a daily basis?
medical charts and assinging codes
girls question
who wants to go out ;p
Answer: I do
Explanation: *P.S.* I'm a Boy
Select the correct answer.
What is a hyperlink?
A.
A bold link that goes back to a newspaper
B.
A link that clicks on itself
C.
A way to cite sources in an online article
D.
A special link on a smartphone
Answer:
c.
Explanation:
a link from a hypertext file or document to another location or file, typically activated by clicking on a highlighted word or image on the screen.
Answer:
c
Explanation:
came out my study guide and i made a 96 % on my 50 question test
Why can the internet keep growing as more devices are added without decrease in performance?
Answer:
Explanation:
There may be many reasons why your internet speed is slow. Internet use requires a reliable connection between your device and the destination, which may be a server that is physically located on the other side of the world.Your connection to that server could pass through hundreds of devices on its journey. Each one of these is a potential failure, or weak point. If one point along this path isn’t functioning optimally, this can significantly affect your internet experience.