fork download
  1. d = {'x': 1, 'y': 2}
  2. t = (*d,)
  3. print(t) # ('x', 'y')
  4.  
Success #stdin #stdout 0.01s 27712KB
stdin
Standard input is empty
stdout
('x', 'y')