Can someone please tell me if there is a strait forward way to isolate its item from a set with one single item,
i.e. "a" from {"a"} ?
The only ones I can think of are:
(1) tuple({"a"})[0]
which of course also can be - even more obfuscated - written as :
(*({"a"}),)[0]
and :
(2) list({"a"})[0]
but isn't there any less devious way (for e.g. use in a comprehension) ?
Thanks for any answer, Tinus.
Created at: 2017/10/30 02:04; Updated at: 2017/10/30 09:51
The question is resolved.