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

why did the karankawas disappear
what are some possible advantages of having only two powerful political parties? What are some possible disadvantages?
a student sells small and large greeting cards decorated at a craft fair. The small cards coast 3 dollars per card, and the large cards coast 5 dollars per card
Which of the following accurately describes the white army?a) hoped to create a military dictatorshipb) wanted to redistribute landc) was headed by leon trotsky
What's the 7th number of pi ???
Is the federal system the best way to govern the US?
if bob earns 35,000 a month how much does he earn in 2 years and 75 weeks
The nervous system of a clam is very simple. How can a clam function with such a simple nervous system?
Why do you think it might be worth supporting a minor political party in the United States even if that candidate has little chance of winning?
As the value of x increases, which of the following functions would eventually exceed to the other three?1) f(x)=1000x2) f(x)=100x²3) f(x)=50x³2) f(x)=2^x