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