Ok so I am currently making a program that takes out every instant of the number 3 from an array/list. 

You can see below an example of when the array has an uneven amount of indexes.

```
o =[1,2,3]
b = 3
def remove(b,o):
    while o!= []:
        if b == o[0]:
            s = [o[1]] + remove(b,o[2:])
            return s
        else:
           ss = [o[0]] + remove(b,o[1:])
           return ss
    if o==[]:
        return o
print remove(b,o)

```

It should just print out [1,2] but it crashes.