subject

The main part of your program has the following line of code. answer = difference(30,5)

Which function finds the difference of 30 and 5 to return 25.

•def Subtract(numA, numbB):
return numA - numbB

•def subtract(numA, numbB):
return numA - numbB

•def Subtract(numA, numB):
return numB - numA

•def subtract(numA, numB):
return numB - numA

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 00:30
Write the html code to make a link out of the text “all about puppies”. it should link to a pdf called “puppies.pdf” inside the “documents” folder. the pdf should open in a new window.
Answers: 2
question
Computers and Technology, 23.06.2019 06:00
When is a chart legend used a. all the time b. whenever you are comparing data that is the same c. whenever you are comparing multiple sets of data d. only for hand-drawn charts
Answers: 2
question
Computers and Technology, 24.06.2019 13:30
Write a program that uses a two-dimensional array to store the highest and lowest temperatures for each month of the year. the program should output the average high, average low, and the highest and lowest temper- atures for the year. your program must consist of the following functions: a. function getdata: this function reads and stores data in the two- dimensional array. b. function averagehigh: this function calculates and returns the average high temperature for the year. c. function averagelow: this function calculates and returns the aver- age low temperature for the year. d. function indexhightemp: this function returns the index of the highest high temperature in the array. e. function indexlowtemp: this function retur
Answers: 3
question
Computers and Technology, 25.06.2019 08:30
In the context of intentional computer and network threats a is a programming routine built into a system by its designer
Answers: 2
You know the right answer?
The main part of your program has the following line of code. answer = difference(30,5)

Questions
question
History, 10.01.2020 03:31
question
Social Studies, 10.01.2020 04:31
Questions on the website: 13722361