1# Define a default value to the variable.
2def function(required_variable, optional_variable = "1"):
1#*args makes it so that you can use any amount of variables
2def function(variable1, variable2, *args):
3#for example the print function can start with: def print(*args)