You need write list, not specific element. Just use: print(list(x)), withnot [0] or different number.