number = int(input())
numList = [int(digit) for digit in str(number)]
print(numList)
In this code when i enter the number 010 the output is being [1, 0] instead of [0, 1, 0]. please help Can i also get suggestion on how to add 0 to list if input number begins with 0