tlcovel tlcovel
  • 24-10-2019
  • Computers and Technology
contestada

what statement do you have to have in a value-returning function?

in regards to python programming language.​

Respuesta :

SadandDepressedMe
SadandDepressedMe SadandDepressedMe
  • 24-10-2019

Answer:

They can be situated anywhere in the function body. A return statement ends the execution of the function call and "returns" the result, i.e. the value of the expression following the return keyword, to the caller. If the return statement is without an expression, the special value None is returned.

Answer Link

Otras preguntas

x:1,2,3,4,5 y:0,3,8,15,24y=x2+[ ? ]​
The graph of the step function g(x) = –⌊x⌋ + 3 is shown. On a coordinate plane, a step graph has horizontal segments that are each 1 unit long. The left end of
A research firm conducted a survey to determine the mean amount Americans spend on coffee during a week. They found the distribution of weekly spending followed
Which expression is equivalent to r9/r3?
How many solutions exist for the system of equations below? (3x+y- 18 (3x+y=16 none one O O two infinitely many
a certain forest covers an area of 4700 km^2. suppose that each year this area decreases by 5.5% what will the area be after 11 years ?
A large, 68.0-kg cubical block of wood with uniform density is floating in a freshwater lake with 20.0% of its volume above the surface of the water. You want
1+1+1+1+2-200 pls quick
The new capital of West Germany was _______.
hxgjlcduovdykbf plz hurry fast​