結果 : write a python program to extract digits from tuple list