justinflowers03 justinflowers03
  • 08-12-2020
  • Computers and Technology
contestada

What is the output?
def divide(numA, numB):
return numA / numb
answer = divide(21,3)
print (answer)
There are no errors but there will be no output.
An error occurs.
7.0
21,3

What is the output def dividenumA numB return numA numb answer divide213 print answer There are no errors but there will be no output An error occurs 70 213 class=

Respuesta :

Swostikaadhikari Swostikaadhikari
  • 08-12-2020
The device with gives us meaning and result it’s called output
Answer Link
tonb
tonb tonb
  • 08-12-2020

Answer:

7.0

Explanation:

The divide( ) function calculates 21 divided by 3.

The print statement puts it on the screen.

Since the division operator returns a float, the output is printed as 7.0 in stead of just 7.

Answer Link

Otras preguntas

Find the area of a rectangular garden box if the length is square root of 6ft. and the width is square root of 21 ft. Write the answer in simplest radical form.
What should you not do when evaluating an opponent's supporting points? A. Ignore any good argument strategies B. Consider whether the appeals are convinc
better deal help me worth a lot of points
what is 686 49/50 please help me
Identify and explain how the "Society of Friends" got their nickname.
When Ivan Pavlov observed evidence of classical conditioning, he was studying the __________. a.intestines and digestive process of dogs b.effects of cold on s
What is a pangolin? A fish A city in South America A scaly looking mammal An Egyptian food None of the above
What geographic characteristics do most of the nonmember nations in Europe share
what is the median of this data set 21 63 84 126
An object has a mass of 250g. What is the gravitational force of on object by the earth.