whyyoubullyme81
whyyoubullyme81 whyyoubullyme81
  • 20-11-2020
  • Computers and Technology
contestada

Finish the code of the function that finds the average of two numbers.
def ave(a, b, c):
sum = a + b + c

____ sum / 3

num = ave(3, 5, 10)
print (num)

Respuesta :

Cytokine
Cytokine Cytokine
  • 20-11-2020

The missing word is return.

We type return inside of a function so as to "return" a result. In this case, the sum divided by 3 will be returned.

Answer Link
vitalyc123 vitalyc123
  • 20-04-2021

Answer:

return

Explanation:

good luck on your unit test

Answer Link

Otras preguntas

Who established the role of the Supreme Court in judicial review? A. George Washington B. Alexander Hamilton C. John Adams D. John Marshall
Which of the following was the name for Roosevelt and Churchill's agreement to collective security, disarmament, freedom of the seas, and economic cooperation?
What was the significance of the Louisiana Purchase? A. It drew the U.S. into the war between England and France. B. It doubled the size of the United States. C
what is 1 5/8 - 3/8? express the answer in simplest form....
where is abu dhabi international airport ?
what is 43.043 in expanded form
A car traveling at constant speed traveled 262.5 miles in 3 1⁄2 hours. What was the car's speed?
What is the theme in the poem "The Road Not Taken?"
What was the cause of the fall of Roman Empire
Silas Marner lived a(an) _____________ life working alone as a weaver until he adopted a daughter. A. impermeable B. introverted C. perennial D. subversive