define a function with string argument python code example
Example: how to define functions in python
def add(number):
equation = 5 + number
print(equation)
add(10)
output:
15
def add(number):
equation = 5 + number
print(equation)
add(10)
output:
15