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

find the volume of this PLease
What is the parent graph of a log?
A greengrocer sold exactly 1600 kg of vegetables in a week. 40% of this mass was onions. This percentage is correct to 1 s.f. a) What is the upper bound for the
simplify the expression 12x-9 - 4x +3
Part H: Simulate the Effectiveness of the Home Over Time Choose any two features of your eco-friendly home, and simulate quantitatively how these features could
Write a poem titled Travel; three stanzas long, with four lines in each stanza. This means that the poem will have twelve lines overall. You can use whichever r
What are 2 examples of reproductive isolation?
Write the following absolute value function as a piecewise function. f(x)= x^(2)+5x
Which statement best explains the two possible interpretations of the sonnet? The three quatrains satirize common poetic comparisons of one’s beloved to beautif
find the parametric equation of the conic.sections (x+1)²÷16-y²÷9=1​