Tuesday, July 7, 2020

Python Class 170 (Multi Function Call) - Kapil

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

https://www.youtube.com/channel/UCe0rLJmSQXNoK2Mo2eMVuvg

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Blockchain: 101 (By - Kapil Sharma)

 https://testing-mines.blogspot.com/2021/10/blockchain-101-by-kapil-sharma.html Blockchain through the following attributes: Distributed:  T...