print ("*** Multi Function calls application example ***")
def MATH_function(n1,n2):
return (n1*n2), (n1/n2)
def SQY1_function(n1,n2):
return(n1*2, n2*2)
def SQY2_function(n1,n2):
return(n1**2, n2**2)
print ("\n")
print("The multiply function call result is:",MATH_function(3,3))
print ("\n")
print("The squre root function call result is:",SQY1_function(10,5),
"& The squre root function call result is:", SQY2_function(10,5))
===============================================================
https://github.com/bornfreesoul/PythonLessons
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.