numbers = raw_input("Enter numbers: ")
numbers = [numbers]
numbers = list(numbers[0])
numbers = [int(x) for x in numbers]
numbers[::2] = [2*x for x in numbers[::2]]
for x in numbers: #code stops working as i want here
    if x == 10:
        x = 1
    elif x == 12:
        x = 3
    elif x == 14:
        x = 5
    elif x == 16:
        x = 7
    elif x == 18:
        x = 9
print(numbers)
Basically I want it to take the numbers I give it, put it into a list, split that list, change all elements in the list to integers, and for every other element in the list, double it, and (here's where it stops working) take the possible 2 digit numbers from doubling 5, 6, 7, 8, or 9 and add the digits.
I think the for, if, and elif statements are right but I think their bodies are wrong. What do I do to change x if it's not like a variable? (x = 1)
Or am I doing the last step all wrong? Thanks.
 
     
     
    