def absent_digits(n):
all_nums = set([0,1,2,3,4,5,6,7,8,9])
n = set([int(i) for i in n])
n = n.symmetric_difference(all_nums)
n = sorted(n)
return n
print(absent_digits([9,8,3,2,2,0,9,7,6,3]))
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)