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

A certain metal M forms a soluble nitrate salt M(NO3), Suppose the left half cell ofa galvanic cell apparatus is filled with a 4.00 M solution of M (NO,), and t
Find the simple interest and amount when principal = Rs. 6000, rate = 6% per annum and time = 4 years
Read this excerpt of "From Blossoms": From laden boughs, from hands, from sweet fellowship in the bins, comes nectar at the roadside, succulent peaches we devou
Help! I’ll reward brainest its pretty easy
What does the poem The Hill We Climb Address?
Does anyone know what are the different meanings of (patent) in English? ( except a property right)
Can someone please fix the sentences 1-3 and correct them for me, I’ll give brainalist + points
y times the square root of x
Please help me will give Brain
In which rainforest three layer would you most expect to spot a harpy eagle