def display2(a,b,c): print("kwarg1:", a) print("kwarg2:", b) print("kwarg3:", c) d = {"a": 1, "b": 2, "c": 3} display2(**d)