glendarowland1980 glendarowland1980
  • 13-11-2020
  • Computers and Technology
contestada

What are the missing words in the program?
divide(numA,numB):
numA/numB

Respuesta :

Cytokine
Cytokine Cytokine
  • 13-11-2020

If you just want to get the quotient of numA and numB from the function, it would look like this:

def divide(numA, numB):

   return numA/numB

If you want to get the quotient of numA and numB from the function and then print that value to the screen, it would look like this:

def divide(numA, numB):

   return numA/numB

print(divide(1,1))

You can replace those 1's with any number you want.

Answer Link
blurclanesc blurclanesc
  • 02-02-2021

Answer:

def and return

Explanation: got it right on edg 2021

Answer Link

Otras preguntas

If x^5y^4z^2 <0 , which of the following must be true? I xy <0 II yz <0 III xz <0
What is the solution to this system of linear equations: y-x=4 and y+2x=1 1) (-1,3) 2) (0,4) 3) (1,-1) 4) (-3,3)
copy this figure onto grid paper. draw line to divide the figure into 4 congruent polygons. how do you know the ploygons are congruent
What is the formula for the volume of a cuboid?
How many light sources do you know Pls list them
If x^5y^4z^2 <0 , which of the following must be true? I xy <0 II yz <0 III xz <0
What is the formula for the volume of a cuboid?
Work out the number that is halfway between 27 times 38 and 33 times 38.Show your working out aswell.
The sum of a number and 18 times its reciprocal is 11. Find the number(s). Let x represent the unknown number. The Reciprocal of x is____?
What is the main idea of Truman's statement about the use of atomic weapons