Getting only element from a single-element list in Python?,singleitem = mylist[-1]