Home / Python Keywords / How to Use Keyword Arguments in Python In this example we will show how to use keyword arguments in Python. Source Code def my_function(num1, num3, num2): print('The maximum number is', num3) my_function(num1=1, num2=5, num3=10) Output: The maximum number is 10