last digt of list code example Example: last digit of array python >>> array = [0.0021, 0.12, 0.1224, 0.22] >>> array[-1] 0.22 >>>