ANSWERS: 1
  • Try something like: def get_first_values(d):    res = []    for k,v in d.iteritems():       res.append(v[0])    return res

Copyright 2023, Wired Ivy, LLC

Answerbag | Terms of Service | Privacy Policy