Intentions aside, next(iter(...)) seems the most pythonic you can get
about this anyway.

Just in case you happen not to need the dictionary anymore,
d.popitem()[1] does the trick.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to