Syntax for dictionnary unpacking to variables

Interesting this work when run in a file but not at the prompt!!!