My code almost works:

```
number = int(input("Please type in a number: "))

a = 2
b = 1

while a in range(number) or b in range(number):
    print(a)
    print(b)
    a += 2
    b += 2

```

with input 6 it works as it should:

```
Please type in a number: 6
2
1
4
3
6
5

```

but with input 5 it doesn't and show the sequence `2 1 4 3` instead `2 1 4 3 5`