Getting only element from a single-element list in Python?,singleitem = next(iter(mylist))