def getting_text(entered_text):
    print(user_input)
if entered_text == 'done':
    print('entering the texts are done!')
else:
    getting_text(input('Enter the text or write done to finish entering '))
user_input.append(entered_text)
getting_text(input('Enter the first text '))
user_input
Python list order