What Algorithm Does Python Random String From A List