def one_list(text_list):
    text_result = []
    for text_number in text_list:
        if ' ' in text_number:
            for i in text_number.split():
                text_result.append(i)
        else:
            text_result.append(text_number)
    print(text_result)


one_list(['jjg', 'ytyut gffg', 'ytuyt fgf fgf', 'hjgjhg'])

55022e66fa314e1e67136dddd3462a880d2b6c54
<mask token>

def one_list(text_list):
    text_result = []
    for text_number in text_list:
        if ' ' in text_number:
            for i in text_number.split():
                text_result.append(i)
        else:
            text_result.append(text_number)
    print(text_result)


<mask token>

def one_list(text_list):
    text_result = []
    for text_number in text_list:
        if ' ' in text_number:
            for i in text_number.split():
                text_result.append(i)
        else:
            text_result.append(text_number)
    print(text_result)


one_list(['jjg', 'ytyut gffg', 'ytuyt fgf fgf', 'hjgjhg'])
