https://docs.python.org/3/tutorial/controlflow.html#unpacking-argument-lists

인수가 이미 리스트나 튜플에 있지만, 별도의 위치 인수를 필요로 하는 함수 호출을 위해 압축 해제되어야 하는 경우

함수를 선언 할때 * 와 ** 의 의미는 리스트, 딕트 인데
호출 할때는 그러한 것을
list
key
value 형태로 풀어내는 역할을 한다.

def parrot(voltage, state='a stiff', action='voom'):
    print("-- This parrot wouldn't", action, end=' ')
    print("if you put", voltage, "volts through it.", end=' ')
    print("E's", state, "!")
d = {"voltage": "four million", "state": "bleedin' demised", "action": "VOOM"}
parrot(**d)

← python 3.14으로