Basic function in Python.
def multiply(x,y):
return x*y
x=2
y=5
z=multiply(x,y)
print("Product is: ", z)
print(x, " * " , y ," is equals to = ", z)
Sample output:
That's it, a simple and basic functin in Python!
Keep your feet on the ground! and kneel down to pray!
Prayer is the ultimate connection to the creator.
Comments
Post a Comment