Question: I want to convert num1 and num2 to a list and print it,any inputs on how this can be done?

```
num1 = 12345
num2 = 34266 73628

print num1
print num2

EXPECTED OUTPUT:-

['12345']
['34266','73628']

```

Answer: 
```
num1 = '12345'
num2 = '12345 67890'
#Note: Both must be strings

#Option 1(Recommended)
print num1.split()
print num2.split()

#Option 2
import shlex
print shlex.split(num2)

#Option 3
import re
print re.split(' ', num2)

#If the array needs to be of ints:
result1 = [int(item) for item in num1.split()]
result2 = [int(item) for item in num2.split()]

```
```
num1 = [12345]
num2 = [34266, 73628]

print num1
print num2

```