python function's return value

# Write function, functional, to two the number of function that returns two numbers and 

DEF mySum (num1, num2):
# return the structure to the function caller
return num1 + num2
# executing the return statement, the function end behind the return code is not performed
Print ( "**********")

RES shared by mySum = (. 1, 2)
Print (RES)

Guess you like

Origin www.cnblogs.com/pygo/p/12243038.html