1>>> n = 43365644
2>>> digits = [int(x) for x in str(n)]
3>>> digits
4[4, 3, 3, 6, 5, 6, 4, 4]
5>>> lst.extend(digits) # use the extends method if you want to add the list to another
1# Method 1
2n = 43365644
3digits = [int(x) for x in str(n)]
4print(digits)
5#Output 1
6>>> [4, 3, 3, 6, 5, 6, 4, 4]
7
8lst.extend(digits) # use the extends method if you want to add the list to another
9
10
11# Method 2
12n = 43365644
13[(n//(10**i))%10 for i in range(math.ceil(math.log(n, 10))-1, -1, -1)]
14#Output 2
15>>> [4, 3, 3, 6, 5, 6, 4, 4]
1>>> x = 2
2>>> y = 3
3>>> z = 5
4>>> x * y
56
6>>> x + y
75
8>>> x * y + z
911
10>>> (x + y) * z
1125
12