Keyword Arguments in Python In the previous post , we discussed about Positional Arguments in Python . In this post, let's look at Keyword Arguments in Python . We will reuse the function print_stats . def print_stats(name ="Sachin Tendulkar",age = 49,type_batsman = "Right", avg_runs=44.8): print(f"Name of cricketer is {name}.") print(f"Age of {name} is {age} years.") print(f"{name} is {type_batsman} handed bastsman.") print(f"Career ODI Average for {name} is {avg_runs} runs.") print_stats() ---> Name of cricketer is Sachin Tendulkar. Age of Sachin Tendulkar is 49 years. Sachin Tendulkar is Right handed bastsman. Career ODI Average for Sachin Tendulkar is 44.8 runs. Keyword arguments come in the form kwarg=value . Notice, how we have given values for each of our function arguments ( name ="Sachin Tendulkar" , age = 49 , type_batsman = "Right" , avg_runs=44.8 ). If t...