fork(1) download
  1. from __future__ import print_function
  2.  
  3. test = {
  4. 'foo': 1,
  5. 'bar': 2,
  6. 'baz': 3
  7. }
  8.  
  9. values = list(test.values())
  10.  
  11. print(values)
Success #stdin #stdout 0.01s 9016KB
stdin
Standard input is empty
stdout
[3, 1, 2]