List To String Function In Python