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

Write 2x + y = 10 in slope intercept form
Which types of reasons are not valid in a mathematical proof? A. unproven theorems B. postulates C. definitions D. already-proven theorems
The first 10 Amendments to the Constitution refer to Americans' civil liberties. The 14th Amendment establishes civil rights. Which of the following statements
Y-16-3y=0 can someone please help me with this question
6. (3 pt) Is this statement true or false? Few ancient civilizations made jewelry to adorn the human body. A. true B. false
What is the length of a side of the square if the apothem is 7m?
Would you have supported going to war against great britain
need help please okok
The Populist Party lost power in large part as a result of
if moisture content remains constant and temperature increases the relative humidity will do what?