def CrepeCTARR(inputUser): listi = [] for i in inputUser: if type(i) is str: listi.append(i) else: listi.extend(CrepeCTARR(i)) return listi