Tambahkan Tuple ke Kamus Python

from collections import defaultdict

d = defaultdict(list)
d[i].append((left, right))
Ghaith Alzin