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: 
I'm going to assume that `num1` and `num2` are both strings (otherwise you have a syntax error). You can use [`str.split()`](http://docs.python.org/2/library/stdtypes.html#str.split):

```
>>> num1 = '12345'
>>> num2 = '34266 73628'
>>> num1.split()
['12345']
>>> num2.split()
['34266', '73628']

```
Make them strings, so you can use split, and then turn them into integers!!

```
num1 = '12345'
num2 = '34266 73628'
def func(number):
    num = number.split()
    return [int(i) for i in num]

>>> func(num1)
[12345]
>>> 
>>> func(num2)
[34266, 73628]

```