make function for word in python code example
Example: recalling a function in python
# defining a function with no input values
def function():
print("test")
# recalling function above
function()
#or
# defining a function with two input values
def function(input1, input2):
print(input1)
print(input2)
# recalling the function with two input values
function(input1, input2)