Возьмите массив строки в Python
x = list(map(str, input("Enter the values with spaces between them: ").split()))
ga7axy
x = list(map(str, input("Enter the values with spaces between them: ").split()))