def example(firstargument, secondargument, thirdargument="N/A"): """ Prints a string based on the two arguments. """ # This is python3.6 syntax: # print(f"{firstargument} is the first argument.") print("{} is the first argument.".format(firstargument)) print("{} is the second argument.".format(secondargument)) print("{} is the third argument.".format(thirdargument)) if __name__ == "__main__": """ Some examples on simple functions. And docstring stuff that will probably have to be updated when I know more. """ # You can just use parameters in order example("My first argument", "my second argument") # but better to use the names example(secondargument = "#2!", firstargument = "#1!", thirdargument = "#3!")